slf4d.default_provider.factory

Module containing the default logger factory and associated components.

Members

Classes

DefaultLoggerFactory
class DefaultLoggerFactory

A basic LoggerFactory implementation that just creates a Logger with a handler and pre-set logging level. It also includes methods for defining custom logging levels for individual module patterns, so that you can, for example, only show debug messages from a single module.

Structs

ModuleLoggingLevelMapping
struct ModuleLoggingLevelMapping

A simple mapping struct that maps a module pattern string to a particular logging level, used by the DefaultLoggerFactory to configure module-specific logging levels.