Protocols used to allow access to logging implementations. This namespace only need be used by those providing logging implementations to be consumed by the core api.
Protocols used to allow access to logging implementations. This namespace only need be used by those providing logging implementations to be consumed by the core api.
(cl-factory)
Returns a Commons Logging-based implementation of the LoggerFactory protocol, or nil if not available.
Returns a Commons Logging-based implementation of the LoggerFactory protocol, or nil if not available.
A Logger that is not enabled and does nothing on write.
A Logger that is not enabled and does nothing on write.
A LoggerFactory that always provides the disabled-logger.
A LoggerFactory that always provides the disabled-logger.
(find-factory)
Returns the first non-nil value from slf4j-factory, cl-factory, log4j2-factory, log4j-factory, and jul-factory.
Returns the first non-nil value from slf4j-factory, cl-factory, log4j2-factory, log4j-factory, and jul-factory.
(jul-factory)
Returns a java.util.logging-based implementation of the LoggerFactory protocol, or nil if not available.
Returns a java.util.logging-based implementation of the LoggerFactory protocol, or nil if not available.
(log4j-factory)
Returns a Log4j-based implementation of the LoggerFactory protocol, or nil if not available.
Returns a Log4j-based implementation of the LoggerFactory protocol, or nil if not available.
(log4j2-factory)
Returns a Log4j2-based implementation of the LoggerFactory protocol, or nil if not available.
Returns a Log4j2-based implementation of the LoggerFactory protocol, or nil if not available.
The protocol through which the core api will interact with an underlying logging implementation. Implementations should at least support the six standard logging levels if they wish to work from the level-specific macros.
The protocol through which the core api will interact with an underlying logging implementation. Implementations should at least support the six standard logging levels if they wish to work from the level-specific macros.
(enabled? logger level)
Check if a particular level is enabled for the given Logger.
Check if a particular level is enabled for the given Logger.
(write! logger level throwable message)
Writes a log message to the given Logger.
Writes a log message to the given Logger.
The protocol through which the core api will obtain an instance satisfying Logger as well as providing information about the particular implementation being used. Implementations should be bound to logger-factory in order to be picked up by this library.
The protocol through which the core api will obtain an instance satisfying Logger as well as providing information about the particular implementation being used. Implementations should be bound to *logger-factory* in order to be picked up by this library.
(get-logger factory logger-ns)
Returns an implementation-specific Logger by namespace.
Returns an implementation-specific Logger by namespace.
(name factory)
Returns some text identifying the underlying implementation.
Returns some text identifying the underlying implementation.
(slf4j-factory)
Returns a SLF4J-based implementation of the LoggerFactory protocol, or nil if not available.
Returns a SLF4J-based implementation of the LoggerFactory protocol, or nil if not available.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close