BAOS .net SDK
18.2.0
|
Start/Stop the logging system More...
#include <kdriveLogger.h>
Public Types | |
enum | Level { Level::None = 0, Level::Fatal, Level::Critical, Level::Error, Level::Warning, Level::Notice, Level::Information, Level::Debug, Level::Trace } |
Static Public Member Functions | |
static void | SetConsoleChannel () |
static void | SetFileChannel () |
static void | SetFileChannel (System::String^fileName) |
static void | Log (Level level, System::String^message) |
static void | Dump (Level level, System::String^message, array< unsigned char >^data) |
static void | Shutdown () |
static void | SetLevels (Level level) |
Start/Stop the logging system
If you start the logger you must stop it (i.e. on close, or app end) to release the logging resources. If you don't stop the logger your application may crash on exit
If you start the logger the output will appear on the console. For non-console (i.e. gui) applications this is the output window of the visual studio debugger
|
strong |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |