mable.io package

Submodules

mable.io.logging_util module

class mable.io.logging_util.LoguruHandler(level=0)

Bases: Handler

Handler to forward python logging to loguru logger.

emit(record)

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.

mable.io.logging_util.let_loguru_handle_logging(level=20)

Set up python logging to forward to loguru logger.

Module contents