Diarkis C# Client SDK
Static Public Member Functions | Static Public Attributes | List of all members
Diarkis.Logger Class Reference

Static Public Member Functions

static void Level (int lvl)
 Sets logging level. The valid values: Logger.VERB, Logger.INFO, Logger.WARN, Logger.ERR More...
 
static void Disable ()
 Disables logging completely. More...
 
static void Verbose (string str, params object[] list)
 Verbose level of logging to stdout. When used in Unity Engine, it will use UnityEngine.Debug.Log. More...
 
static void Info (string str, params object[] list)
 Info level of logging to stdout. When used in Unity Engine, it will use UnityEngine.Debug.Log. More...
 
static void Warn (string str, params object[] list)
 Warn level of logging to stdout. When used in Unity Engine, it will use UnityEngine.Debug.LogWarn. More...
 
static void Error (string str, params object[] list)
 Error level of logging to stdout. When used in Unity Engine, it will use UnityEngine.Debug.LogError. More...
 

Static Public Attributes

const int VERB = 3
 
const int INFO = 2
 
const int WARN = 1
 
const int ERR = 0
 
const int DISABLE = -1
 

Member Function Documentation

◆ Disable()

static void Diarkis.Logger.Disable ( )
inlinestatic

Disables logging completely.

◆ Error()

static void Diarkis.Logger.Error ( string  str,
params object[]  list 
)
inlinestatic

Error level of logging to stdout. When used in Unity Engine, it will use UnityEngine.Debug.LogError.

◆ Info()

static void Diarkis.Logger.Info ( string  str,
params object[]  list 
)
inlinestatic

Info level of logging to stdout. When used in Unity Engine, it will use UnityEngine.Debug.Log.

◆ Level()

static void Diarkis.Logger.Level ( int  lvl)
inlinestatic

Sets logging level. The valid values: Logger.VERB, Logger.INFO, Logger.WARN, Logger.ERR

Parameters
lvlLog level.

◆ Verbose()

static void Diarkis.Logger.Verbose ( string  str,
params object[]  list 
)
inlinestatic

Verbose level of logging to stdout. When used in Unity Engine, it will use UnityEngine.Debug.Log.

◆ Warn()

static void Diarkis.Logger.Warn ( string  str,
params object[]  list 
)
inlinestatic

Warn level of logging to stdout. When used in Unity Engine, it will use UnityEngine.Debug.LogWarn.


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