Manage IOLink logging.
More...
|
|
| Logger (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
void | Dispose () |
| |
|
|
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.
|
| |
|
|
virtual void | Dispose (bool disposing) |
| |
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.
◆ 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
-
| level | The 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:
- Release/net/generated/Logger.cs