Source code for brainaccess.core.log_level
from enum import Enum
[docs]
class LogLevel(Enum):
"""Verbosity of the library log file.
A level logs messages of its own severity and of every more severe level. For
example ``INFO`` logs information, warnings and errors, but not debug
messages. Use it with :func:`brainaccess.core.set_config_fields`.
Attributes
----------
VERBOSE : int
Log everything.
DEBUG : int
Log debug messages and everything more severe.
INFO : int
Log information and everything more severe (the default).
WARNING : int
Log warnings and errors.
ERROR : int
Log errors only.
"""