nologging#

pypillometry.nologging()[source]#

Temporarily disable logging for pypillometry submodules. Logging is re-enabled when exiting the context.

Examples

>>> with nologging():
...     # Code here will not produce any logs
...     pass
>>> # Logging is re-enabled