跳转到内容

cli/utils/logger

此内容尚不支持你的语言。

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.

An Effect-wrapped function that logs a debug message if debugging is enabled.


const logger: {
debug: (message: string) => void;
};

Defined in: studiocms/packages/studiocms/src/cli/utils/logger.ts:15^

debug: (message: string) => void;

string

void