pypesto.logging
Logging
Logging convenience functions.
Functions
|
Log messages from name with level to any combination of console/file. |
|
Check whether the requested log level is active in any handler. |
|
Log to console. |
|
Log to file. |
- pypesto.logging.log(name='pypesto', level=20, console=True, filename='')[source]
Log messages from name with level to any combination of console/file.
- pypesto.logging.log_level_active(logger, level)[source]
Check whether the requested log level is active in any handler.
This is useful in case log expressions are costly.