class documentation

class InterceptHandler(logging.Handler): (source)

View In Hierarchy

Send logs to loguru logger from Python logging module.

Method emit Move the specified logging record to loguru.
def emit(self, record: logging.LogRecord): (source)

Move the specified logging record to loguru.

Parameters
record:logging.LogRecordOriginal python log record.