class documentation

class ACMERichLogHandler(RichHandler):

Constructor: ACMERichLogHandler(level)

View In Hierarchy

Custom Rich log handler to support the log formatting for the console output.

Method __init__ Initialize the ACMERichLogHandler with the given log level. This also adds custom styles for the console output.
Method emit Invoked by logging.
Class Variable __slots__ Slots for the ACMERichLogHandler
Class Variable _levels Custom log level styles for the console output.
Instance Variable _fromtimestamp Function to convert a timestamp to a datetime object. This is set depending on the setting of UTC time.
def __init__(self, level: int = logging.NOTSET):

Initialize the ACMERichLogHandler with the given log level. This also adds custom styles for the console output.

def emit(self, record: LogRecord):

Invoked by logging.

__slots__: tuple[str, ...] =

Slots for the ACMERichLogHandler

_levels =

Custom log level styles for the console output.

_fromtimestamp: Callable =

Function to convert a timestamp to a datetime object. This is set depending on the setting of UTC time.