ExitHandler

class app.util.logging.exit_handler.ExitHandler[source]

Bases: Handler

Custom logging handler to track log message counts and handle application exit status.

Inheritance diagram of ExitHandler

Inheritance Diagram for ExitHandler

Methods

__init__(manager, *args, **kwargs)

atexit()

Handle application exit, print summary, and save config if appropriate.

handle(record)

Attributes

class ExitStatusFormatter[source]

Bases: Formatter

format(record)[source]
__init__(manager, *args, **kwargs)[source]
Parameters:

manager (LoggingManager)

atexit()[source]

Handle application exit, print summary, and save config if appropriate.

handle(record)[source]
Return type:

bool