Classloggerv0.6.0
Logger
Channel-aware logging service.
Builds a plain LogRecord per call and dispatches it to the process-global
LoggerChannelRegistry. No transport is bound, so it runs on a gateway server and a
Cloudflare Worker without changes.
class Logger implements ILoggerMember visibility
Filter class members by access level.
Logger(label: string, options?: LoggerOptions)Parameter:
labelPrefix on every entry from this logger.
Showing members with Protected visibility and higher.
public readonly utils: LoggerUtilitiespublic static configure(config: LoggerConfig): voidpublic setChannel(channel: LoggerChannelId): voidpublic withChannel(channel: LoggerChannelId): Logger