lenskit.logging.tracing#

Extended logger providing TRACE support.

Functions

lenskit_filtering_logger(level)

No-op filtering logger.

Classes

TracingLogger(logger, processors, context)

Class for LensKit loggers with trace-level logging support.

class lenskit.logging.tracing.TracingLogger(logger, processors, context)#

Bases: BoundLogger

Class for LensKit loggers with trace-level logging support.

Parameters:
  • logger (WrappedLogger)

  • processors (Iterable[Processor])

  • context (Context)

bind(**new_values)#

Return a new logger with new_values added to the existing ones.

Parameters:

new_values (Any)

Return type:

TracingLogger

new(**new_values)#

Clear context and binds initial_values using bind.

Only necessary with dict implementations that keep global state like those wrapped by structlog.threadlocal.wrap_dict when threads are re-used.

Parameters:

new_values (Any)

Return type:

TracingLogger

lenskit.logging.tracing.lenskit_filtering_logger(level)#

No-op filtering logger.

Parameters:

level (int)