lenskit.logging.processors#
LensKit logging processors and converters.
Functions
|
Add process info if it does not exist. |
|
Reformat UNIX timestamps. |
|
|
|
Filter out “internal” attrs (beginning with |
- lenskit.logging.processors.remove_internal(logger, method, event_dict)#
Filter out “internal” attrs (beginning with
_
) for console logging.- Parameters:
logger (Any)
method (str)
event_dict (MutableMapping[str, Any])
- Return type:
- lenskit.logging.processors.format_timestamp(logger, method, event_dict)#
Reformat UNIX timestamps.
- Parameters:
logger (Any)
method (str)
event_dict (MutableMapping[str, Any])
- Return type: