Skip to content
Classloggerv0.4.4

LoggerChannelRegistry

Process-global router for every LogRecord.

Resolves the channel and level floor at log time, then runs two layers: config sinks (replaced wholesale by configure) and capture sinks (installed imperatively, surviving a config replace). A console-kind config sink is skipped while any capture requests muteConsole.

class LoggerChannelRegistry

Member visibility

Filter class members by access level.

Showing members with Protected visibility and higher.

configure()

Full-replaces the config layer. Omitted fields reset to their defaults.

public configure(config: LoggerConfig): void

installSink()

Installs a capture sink (the dev TUI, a remote drain). Survives a configure replace.

public installSink(
    sink: ILogSink,
    options?: { muteConsole?: boolean }
): LogSinkHandle