ifm3dpy.logging.Logger

class ifm3dpy.logging.Logger

Bases: object

Provides access for configuring the logging facilities of ifm3d

Methods

log_level()

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 log_level() LogLevel

Get the active log level, messages below this level will be discarded

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.