ifm3dpy.logging.Logger
- class ifm3dpy.logging.Logger
Bases:
objectProvides access for configuring the logging facilities of ifm3d
Methods
Get the active log level, messages below this level will be discarded
set_log_level(level)Set the active log level, messages below this level will be discarded
set_writer(writer)Set the log writer.
- static set_log_level(level: LogLevel) None
Set the active log level, messages below this level will be discarded
- Parameters
level (
ifm3dpy.logging.LogLevel) – The minimum level a message must have to be logged.
- static set_writer(writer: LogWriter) None
Set the log writer.
- Parameters
writer (
ifm3dpy.logging.LogWriter) – The writer which receives all formatted log messages.