kdriveExpress .net SDK 23.2.0
kdrive::Logger Class Reference

Start/Stop the logging system More...

#include <kdriveLogger.h>

Public Types

enum class  Level {
  None = 0 , Fatal , Critical , Error ,
  Warning , Notice , Information , Debug ,
  Trace
}
 

Static Public Member Functions

static void SetConsoleChannel ()
 
static void SetFileChannel ()
 
static void SetFileChannel (System::String^ fileName)
 
static void SetRemoteSyslogChannel (System::String^ address, System::String^ name)
 
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)
 

Detailed Description

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


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