VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
static void AVR.Core.AVR_DevConsole.HandleLog ( string  logString,
string  stackTrace,
LogType  type 
)
inlinestatic

Executes a respective output based on logString, stackTrace and LogType.

Definition at line 51 of file AVR_DevConsole.cs.

51  {
52  switch(type) {
53  case LogType.Log : { cprint(logString, "Debug.Log"); break; }
54  case LogType.Warning: { cwarn(logString, "Debug.Log"); break; }
55  case LogType.Error: { cerror(logString, stackTrace); break; }
56  case LogType.Exception: { cerror(logString, stackTrace); break; }
57  default : { cprint(logString, "Debug.Log"); break; }
58  }
59  }
static void cwarn(string s, MonoBehaviour obj)
Print warning message with a caller-context variable.
static void cerror(string s, MonoBehaviour obj)
Print error message with a caller-context variable.
static void cprint(string s, MonoBehaviour obj)
Print with a caller-context variable.