Bases: logging.StreamHandler
Log handler that sets the ‘color’ key based on the level
To use, include a ‘%(color)s’ entry in the logging_context_format_string. There is also a ‘%(reset_color)s’ key that can be used to manually reset the color within a log line.
Format the specified record.
If a formatter is set, use it. Otherwise, use the default formatter for the module.
Bases: logging.Handler
Do whatever it takes to actually log the specified logging record.
This version is intended to be implemented by subclasses and so raises a NotImplementedError.
Bases: logging.Handler
Syslog based handler. Only available on UNIX-like platforms.
Do whatever it takes to actually log the specified logging record.
This version is intended to be implemented by subclasses and so raises a NotImplementedError.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.