ptypy.utils.verbose#
Verbose package, based on the standard logging library.
Use as: from verbose import logger logger.warning(‘This is a warning’) logger.info(‘This is an information’) …
TODO: - Handlers for file and for interaction server - option for logging.disable to reduce call overhead
This file is part of the PTYPY package.
- copyright:
Copyright 2014 by the PTYPY team, see AUTHORS.
- license:
see LICENSE for details.
Functions
inverse to set level |
|
|
|
|
Interactive logging for jupyter notebooks, prints a normal message. |
Interactive logging for jupyter notebooks, moves cursor to next line. |
|
|
Interactive logging for jupyter notebooks, streams a message by overwriting the same line. |
|
|
|
no protection for circular references |
|
Set verbosity level. |
Classes
|
Flexible formatting, depending on the logging level. |
|
|
|
A filter that ensures that logging is done only by the master process. |