shamo.utils.loggingΒΆ

API for shamo.utils.logging.

Functions

stream_to_logger

A context manager where everything pushed to stdout is piped to the logger.

subprocess_to_logger

A context manager to pipe the output of a subprocess to the logger.

Classes

StreamToLogger

Pipe a stream to a logger.