|
| static void | Debug (object msg) |
| | Logs a message if DEBUG is defined. More...
|
| |
| static void | Debug (string message) |
| | Logs a debug message. DEBUG needs to be defined and at least LogLevel.Debug must have been used to initialize the logger. More...
|
| |
| static void | DebugError (object msg) |
| | Logs an error if DEBUG is defined. More...
|
| |
| static void | DebugError (string message) |
| | Logs a debug error message. DEBUG needs to be defined and at least LogLevel.Debug must have been used to initialize the logger. More...
|
| |
| static void | DebugWarn (object msg) |
| | Logs a warning if DEBUG is defined. More...
|
| |
| static void | DebugWarn (string message) |
| | Logs a debug warning message. DEBUGneeds to be defined and at least LogLevel.Debug must have been used to initialize the logger. More...
|
| |
| static void | Dispose () |
| | Uninitializes the logger. All log streams are disposed. More...
|
| |
| static void | Error (ILogSource logSource, string message) |
| | Logs an error message. At least LogLevel.Error must have been used to initialize the logger. More...
|
| |
| static void | Error (object msg) |
| | Logs a message of Error type. More...
|
| |
| static void | Error (string message) |
| | Logs an error message. At least LogLevel.Error must have been used to initialize the logger. More...
|
| |
| static void | Exception (Exception ex) |
| | Logs an exception message. At least LogLevel.Error must have been used to initialize the logger. More...
|
| |
| static void | Exception (ILogSource source, string message, Exception ex) |
| | Logs an exception message. At least LogLevel.Error must have been used to initialize the logger. More...
|
| |
| static void | Exception (string message, Exception ex) |
| | Logs an exception message. At least LogLevel.Error must have been used to initialize the logger. More...
|
| |
| static void | Info (ILogSource logSource, string message) |
| | Logs a message. At least LogLevel.Info must have been used to initialize the logger. More...
|
| |
| static void | Info (object msg) |
| | Logs a message of Info type. More...
|
| |
| static void | Info (string message) |
| | Logs a message. DEBUG needs to be defined and at least LogLevel.Info must have been used to initialize the logger. More...
|
| |
| static void | Init (Action< string > info, Action< string > warn, Action< string > error, Action< Exception > exn) |
| | Use Initialize(LogLevel,CreateLogStreamDelegate,TraceChannels) instead. More...
|
| |
| static void | InitForConsole () |
| | Use InitializeForConsole(Quantum.LogSettings) instead. More...
|
| |
| static void | InitForConsole (LogType logType) |
| | Use InitializeForConsole(Quantum.LogSettings) instead. More...
|
| |
| static void | Initialize (LogLevel logLevel, CreateLogStreamDelegate streamFactory, TraceChannels traceChannels=default) |
| | Initializes the logger with the specified log level and trace channels. More...
|
| |
| static void | Initialize (LogSettings settings, CreateLogStreamDelegate streamFactory) |
| | Initialize(LogLevel,CreateLogStreamDelegate,TraceChannels) More...
|
| |
| static void | InitializeForConsole (LogLevel logLevel, TraceChannels traceChannels=default) |
| | Initializes the logger to log to the console. More...
|
| |
| static void | InitializeForConsole (LogSettings settings) |
| | Initializes the logger to log to the console. More...
|
| |
| static void | Trace (object msg) |
| | Logs a message if TRACE is defined. More...
|
| |
| static void | TraceError (object msg) |
| | Logs an error if TRACE is defined. More...
|
| |
| static void | TraceWarn (object msg) |
| | Logs a warning if TRACE is defined. More...
|
| |
| static void | Warn (ILogSource logSource, string message) |
| | Logs a warning message. At least LogLevel.Warn must have been used to initialize the logger. More...
|
| |
| static void | Warn (object msg) |
| | Logs a message of Warn type. More...
|
| |
| static void | Warn (string message) |
| | Logs a warning message. At least LogLevel.Warn must have been used to initialize the logger. More...
|
| |
Quantum's logging system.
Global logging class. Needs to be initialized before use. When in Unity, "QuantumLogInitializer" takes care of that. All static methods have conditional compilation directives:
-
QUANTUM_LOGLEVEL_DEBUG enables "Debug" methods
-
QUANTUM_LOGLEVEL_INFO enables all the above and Info methods
-
QUANTUM_LOGLEVEL_WARN enables all the above and Warn methods
-
QUANTUM_LOGLEVEL_ERROR enables all the above and Error methods
Trace channels are enabled separately with QUANTUM_TRACE_* directives.