| IOLink Python 1.11.0

Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Properties | List of all members
iolink.iolink.Logger Class Reference
Inheritance diagram for iolink.iolink.Logger:

## Public Member Functions
| __init__ (self)

## Static Public Member Functions
| init (level)
| log_level ()

## Properties
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

## Detailed Description

    Manage IOLink logging.

    The logging system will be initialized automatically, using
    the WARNING level in release and DEBUG level in debug.
    You can force the log level using init before any call to
    IOLink. If you call it after, the logging system will already
    be initialized, and your call will have no effect.

## Member Function Documentation

## ◆ init()

iolink.iolink.Logger.init | ( |  | level | ) |
| static

        Forces initialization of the logging system with
        a given log level.

        This should be called before any call to IOLink.

        :type level: int
        :param level: The desired log level.

        Warning: If the logging system is already initialized,
                 its log level will not be changed.

## ◆ log_level()

iolink.iolink.Logger.log_level | ( |  | ) |
| static

    Return the log level of the logging system.

The documentation for this class was generated from the following file:

- Release/python/iolink/iolink.py