brainaccess.core.log_level#

Classes#

LogLevel

Verbosity of the library log file.

Module Contents#

class brainaccess.core.log_level.LogLevel(*args, **kwds)[source]#

Bases: enum.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 brainaccess.core.set_config_fields().

Variables:
  • 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.

DEBUG = 1[source]#
ERROR = 4[source]#
INFO = 2[source]#
VERBOSE = 0[source]#
WARNING = 3[source]#