cli/utils/logger
Ce contenu n’est pas encore disponible dans votre langue.
Variables
Section titled “Variables”buildDebugLogger
Section titled “buildDebugLogger”const buildDebugLogger: any;
Defined in: studiocms/packages/studiocms/src/cli/utils/logger.ts:32^
Builds a debug logger function that logs debug messages conditionally based on the debug
flag.
The returned logger function attempts to log the provided message, formatting it with color if supported.
A boolean flag indicating whether debug logging is enabled.
Returns
Section titled “Returns”An Effect-wrapped function that logs a debug message if debugging is enabled.
logger
Section titled “logger”const logger: { debug: (message: string) => void;};
Defined in: studiocms/packages/studiocms/src/cli/utils/logger.ts:15^
Type Declaration
Section titled “Type Declaration”debug()
Section titled “debug()”debug: (message: string) => void;
Parameters
Section titled “Parameters”message
Section titled “message”string
Returns
Section titled “Returns”void