IOLink
IOL_v1.1.0_release
|
Manage IOLink logging. More...
#include <iolink/Logger.h>
Static Public Member Functions | |
static void | init (LogLevel level) |
Forces initialization of the logging system with a given log level. More... | |
static LogLevel | logLevel () |
Return the log level of the logging system. | |
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.
|
static |
Forces initialization of the logging system with a given log level.
This should be called before any call to IOLink.
level | The desired log level. |