vcorelib.logging.time
index
/home/vkottler/src/vkottler/workspace/vcorelib/vcorelib/logging/time.py

A module with interfaces for time and logging integration.

 
Functions
       
log_time(log: Union[logging.Logger, logging.LoggerAdapter[Any]], message: str, *args, level: int = 20, reminder: bool = False, **kwargs) -> Iterator[NoneType]
A simple context manager for conveniently logging time taken for a task.

 
Data
        LoggerType = typing.Union[logging.Logger, logging.LoggerAdapter[typing.Any]]
TIMER = <vcorelib.math.time.Timer object>