IOLink C# 1.11.0
Loading...
Searching...
No Matches
IOLink.Logger Class Reference

Manage IOLink logging. More...

Inheritance diagram for IOLink.Logger:

Public Member Functions

 Logger (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 

Static Public Member Functions

static global::System.Runtime.InteropServices.HandleRef getCPtr (Logger obj)
 
static global::System.Runtime.InteropServices.HandleRef swigRelease (Logger obj)
 
static void Init (LogLevel level)
 Forces initialization of the logging system with a given log level.
 
static LogLevel LogLevel ()
 Return the log level of the logging system.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

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

static void IOLink.Logger.Init ( LogLevel  level)
inlinestatic

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

This should be called before any call to IOLink.

Parameters
levelThe desired log level.

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


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