5.7.13. vlcp.utils.logger

Note

This document is generated from the source file.

View Source on GitHub

class vlcp.utils.logger.ContextAdapter(logger, extra)
process(msg, kwargs)

Process the logging message and keyword arguments passed in to a logging call to insert contextual information. You can either manipulate the message itself, the keyword args or both. Return the message and kwargs modified (or not) to suit your needs.

Normally, you’ll only need to override this one method in a LoggerAdapter subclass for your specific needs.