class Logger
implements ILogger
Console-based logger implementation for Deno
new
Logger(options?: LoggerOptions)
protected
colors: boolean
protected
module: string
protected
moduleOverrides: ModuleOverrides
protected
prefix: string
protected
timestamps: boolean
debug(message: string): void
Logs a debug message
error(message: string): void
Logs an error message
private
format(levelName: string,color: string,message: string,): string
Formats a log message with optional prefix and timestamp
getModule(): string
Gets the module name for this logger
Gets the module overrides configuration
info(message: string): void
Logs an info message
private
resolveLogLevel(defaultLevel: LogLevel): LogLevel
Resolves the effective log level for this logger based on module overrides
success(message: string): void
Logs a success message (info level)
trace(message: string): void
Logs a trace message (most verbose)
warn(message: string): void
Logs a warning message