Utilities for logging output from Omicron in python
-
class
gravityspy.utils.log.
ColoredFormatter
(msg, use_color=True, **kwargs)[source]¶ Bases:
logging.Formatter
A ~logging.Formatter that supports coloured output
-
class
gravityspy.utils.log.
Logger
(name, level=10)[source]¶ Bases:
logging.Logger
~logging.Logger with a nice format
-
FORMAT
= '[\x1b[1m%(name)s\x1b[0m %(gpstime)d] %(levelname)+19s: %(message)s'¶
-