logit¶
-
class
tollan.utils.log.
logit
(log, msg)[source]¶ Bases:
contextlib.ContextDecorator
Decorator that logs the execution of the decorated item.
- Parameters
- log: callable
The logging function to use.
- msg: str
The message body to use.
tollan.utils.log.
logit
(log, msg)[source]¶Bases: contextlib.ContextDecorator
Decorator that logs the execution of the decorated item.
The logging function to use.
The message body to use.