Liking cljdoc? Tell your friends :D

clojure.tools.logging.impl

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.
raw docstring

cl-factoryclj

(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.
raw docstring

class-found?clj

(class-found? name)

Returns true if the Class associated with the given classname can be found using the context ClassLoader for the current thread.

Returns true if the Class associated with the given classname can be found
using the context ClassLoader for the current thread.
raw docstring

disabled-loggerclj

A Logger that is not enabled and does nothing on write.

A Logger that is not enabled and does nothing on write.
raw docstring

disabled-logger-factoryclj

A LoggerFactory that always provides the disabled-logger.

A LoggerFactory that always provides the disabled-logger.
raw docstring

find-factoryclj

(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.
raw docstring

jul-factoryclj

(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.
raw docstring

log4j-factoryclj

(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.
raw docstring

log4j2-factoryclj

(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.
raw docstring

Loggercljprotocol

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?clj

(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!clj

(write! logger level throwable message)

Writes a log message to the given Logger.

Writes a log message to the given Logger.
raw docstring

LoggerFactorycljprotocol

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-loggerclj

(get-logger factory logger-ns)

Returns an implementation-specific Logger by namespace.

Returns an implementation-specific Logger by namespace.

nameclj

(name factory)

Returns some text identifying the underlying implementation.

Returns some text identifying the underlying implementation.
raw docstring

slf4j-factoryclj

(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.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close