Class: LogHub

Defined in: src/kermit/Logging.coffee

Overview

Central class for log message processing. The hub receives log messages for specific log levels, applies formatting (via LogFormatHandler) and streams into the connected LogAppenders.

All log message processing is based on streams. Formatters are transform streams, appenders are writable streams.

Class Method Summary

Instance Method Summary

Class Method Details

. (void) defaultOpts()

Get a default configuration of this log

Instance Method Details

# (void) initialize() Private

# (void) addDestination(destination)

Add a new log message destination to this hub

# (void) log(lvl, msg, data)

Canonical method for logging messages to all available appenders matching the given log level. If a log level does not exist the message will be silently ignored.

# (void) logger()

Create a new Logger that logs to this hub

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: