The Logger. More...
Static Public Member Functions | |
static void | Debug (string m, params object[] list) |
DEBUG logging function call. More... | |
static void | Error (string m, params object[] list) |
ERROR logging function call. More... | |
static void | Info (string m, params object[] list) |
INFO logging function call. More... | |
static void | Verbose (string m, params object[] list) |
VERBOSE logging function call. More... | |
static void | Warn (string m, params object[] list) |
WARN logging function call. More... | |
Static Public Attributes | |
const int | DEBUG_LEVEL = 1 |
DEBUG logging level as an int. More... | |
const int | ERROR_LEVEL = 4 |
ERROR logging level as an int. More... | |
const int | INFO_LEVEL = 2 |
INFO logging level as an int. More... | |
const int | VERBOSE_LEVEL = 0 |
VERBOSE logging level as an int. More... | |
const int | WARN_LEVEL = 3 |
WARN logging level as an int. More... | |
const int | DISABLED = 5 |
DISABLED logging level as an int. More... | |
Properties | |
static string | TAG [get, set] |
Gets or sets the logging tag. More... | |
static int | LogLevel [get, set] |
Gets or sets the logging level. More... | |
Properties inherited from TiltFive.Singleton< Log > | |
static T | Instance [get] |
Static Private Member Functions | |
static void | log (LogType logType, string tag, string m, params object[] list) |
Universal log write function. More... | |
Private Attributes | |
ILogger | logger = UnityEngine.Debug.unityLogger |
The logger instance. More... | |
string | tag = "Tilt Five, Inc." |
The logging tag. More... | |
int | level = VERBOSE_LEVEL |
The logging level. More... | |
Static Private Attributes | |
const string | DEBUG = "DEBUG" |
DEBUG logging level as a string. More... | |
const string | ERROR = "ERROR" |
ERROR logging level as a string. More... | |
const string | INFO = "INFO" |
INFO logging level as a string. More... | |
const string | VERBOSE = "VERBOSE" |
VERBOSE logging level as a string. More... | |
const string | WARN = "WARN" |
WARN logging level as a string. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from TiltFive.Singleton< Log > | |
Singleton () | |
|
static |
DEBUG logging function call.
m | The string message to log. |
list | Optional ist of input parameters to m , when following string.Format rules. |
Definition at line 113 of file Log.cs.
References TiltFive.Logging.Log.DEBUG, TiltFive.Logging.Log.DEBUG_LEVEL, TiltFive.Logging.Log.log(), and TiltFive.Logging.Log.LogLevel.
|
static |
ERROR logging function call.
m | The string message to log. |
list | Optional ist of input parameters to m , when following string.Format rules. |
Definition at line 127 of file Log.cs.
References TiltFive.Logging.Log.ERROR, TiltFive.Logging.Log.ERROR_LEVEL, TiltFive.Logging.Log.log(), and TiltFive.Logging.Log.LogLevel.
Referenced by TiltFive.Display.Awake(), TiltFive.Display.GetDisplayDimensionsImpl(), TiltFive.Display.GetGlassesIPDImpl(), TiltFive.Wand.WandCore.GetLatestInputs(), TiltFive.SplitStereoCamera.Initialize(), TiltFive.SystemControl.IsTiltFiveUIRequestingAttention(), TiltFive.TiltFiveManager.NeedsDriverUpdate(), TiltFive.TiltFiveManager2.NeedsDriverUpdate(), TiltFive.TiltFiveManager.OnEnable(), TiltFive.TiltFiveManager2.OnEnable(), TiltFive.Display.PresentStereoImagesImpl(), TiltFive.TiltFiveManager.Quit(), TiltFive.TiltFiveManager2.Quit(), TiltFive.Glasses.GlassesCore.Reset(), TiltFive.CameraImage.CameraImageCore.TryCancelCameraImageBuffer(), TiltFive.Wand.WandCore.TryCheckConnected(), TiltFive.CameraImage.CameraImageCore.TryConfigureCameraImageStream(), TiltFive.CameraImage.CameraImageCore.TryGetFilledCameraImageBuffer(), TiltFive.Glasses.GlassesCore.TryGetFriendlyName(), TiltFive.GameBoard.TryGetGameboardDimensions(), TiltFive.GameBoard.TryGetGameboardExtents(), TiltFive.Glasses.BaseGlassesCore.TryGetStateFromPlugin(), TiltFive.Wand.TryGetWandAvailability(), TiltFive.Wand.TryScanForWands(), TiltFive.Wand.TrySendImpulse(), TiltFive.CameraImage.CameraImageCore.TrySubmitEmptyCameraImageBuffer(), TiltFive.Glasses.GlassesCore.Update(), TiltFive.TrackableCore< TSettings, TState >.Update(), and TiltFive.Wand.WandCore.Update().
|
static |
INFO logging function call.
m | The string message to log. |
list | Optional ist of input parameters to m , when following string.Format rules. |
Definition at line 140 of file Log.cs.
References TiltFive.Logging.Log.INFO, TiltFive.Logging.Log.INFO_LEVEL, TiltFive.Logging.Log.log(), and TiltFive.Logging.Log.LogLevel.
Referenced by TiltFive.Display.Awake(), TiltFive.CameraImage.CameraImageCore.Dispose(), TiltFive.Glasses.GlassesCore.Dispose(), TiltFive.Wand.WandCore.Dispose(), TiltFive.Glasses.GlassesCore.GlassesCore(), TiltFive.Display.LogVersion(), TiltFive.TiltFiveManager.NeedsDriverUpdate(), TiltFive.TiltFiveManager2.NeedsDriverUpdate(), TiltFive.TiltFiveManager.OnEnable(), TiltFive.TiltFiveManager2.OnEnable(), TiltFive.Wand.WandCore.TryCheckConnected(), TiltFive.Wand.TryGetWandAvailability(), TiltFive.Wand.TryScanForWands(), TiltFive.Wand.TrySendImpulse(), and TiltFive.Wand.WandCore.WandCore().
|
staticprivate |
Universal log write function.
logType | The logging type. |
tag | The logging tag. |
m | The logging message. |
list | Optional ist of input parameters to m , when following string.Format rules. |
Definition at line 181 of file Log.cs.
References TiltFive.Singleton< Log >.Instance, TiltFive.Logging.Log.tag, and TiltFive.Logging.Log.TAG.
Referenced by TiltFive.Logging.Log.Debug(), TiltFive.Logging.Log.Error(), TiltFive.Logging.Log.Info(), TiltFive.Logging.Log.Verbose(), and TiltFive.Logging.Log.Warn().
|
static |
VERBOSE logging function call.
m | The string message to log. |
list | Optional ist of input parameters to m , when following string.Format rules. |
Definition at line 153 of file Log.cs.
References TiltFive.Logging.Log.log(), TiltFive.Logging.Log.LogLevel, TiltFive.Logging.Log.VERBOSE, and TiltFive.Logging.Log.VERBOSE_LEVEL.
|
static |
WARN logging function call.
m | The string message to log. |
list | Optional ist of input parameters to m , when following string.Format rules. |
Definition at line 166 of file Log.cs.
References TiltFive.Logging.Log.log(), TiltFive.Logging.Log.LogLevel, TiltFive.Logging.Log.WARN, and TiltFive.Logging.Log.WARN_LEVEL.
Referenced by TiltFive.TiltFiveManager.Awake(), TiltFive.TiltFiveManager2.Awake(), TiltFive.DisplaySettings.DisplaySettings(), TiltFive.Display.GetDisplayDimensionsImpl(), TiltFive.Display.GetGlassesIPDImpl(), TiltFive.TiltFiveManager.NeedsDriverUpdate(), TiltFive.TiltFiveManager2.NeedsDriverUpdate(), TiltFive.TiltFiveManager.RefreshSpectatorSettings(), TiltFive.TiltFiveManager2.RefreshSpectatorSettings(), TiltFive.Glasses.GlassesCore.Reset(), TiltFive.TiltFiveManager.Update(), TiltFive.TiltFiveManager2.Update(), and TiltFive.Glasses.GlassesCore.Update().
|
staticprivate |
DEBUG logging level as a string.
Definition at line 85 of file Log.cs.
Referenced by TiltFive.Logging.Log.Debug().
|
static |
DEBUG logging level as an int.
Definition at line 96 of file Log.cs.
Referenced by TiltFive.Logging.Log.Debug().
|
static |
|
staticprivate |
ERROR logging level as a string.
Definition at line 87 of file Log.cs.
Referenced by TiltFive.Logging.Log.Error().
|
static |
ERROR logging level as an int.
Definition at line 98 of file Log.cs.
Referenced by TiltFive.Logging.Log.Error().
|
staticprivate |
INFO logging level as a string.
Definition at line 89 of file Log.cs.
Referenced by TiltFive.Logging.Log.Info().
|
static |
INFO logging level as an int.
Definition at line 100 of file Log.cs.
Referenced by TiltFive.Logging.Log.Info().
|
private |
|
private |
|
private |
|
staticprivate |
VERBOSE logging level as a string.
Definition at line 91 of file Log.cs.
Referenced by TiltFive.Logging.Log.Verbose().
|
static |
VERBOSE logging level as an int.
Definition at line 102 of file Log.cs.
Referenced by TiltFive.Logging.Log.Verbose().
|
staticprivate |
WARN logging level as a string.
Definition at line 93 of file Log.cs.
Referenced by TiltFive.Logging.Log.Warn().
|
static |
WARN logging level as an int.
Definition at line 104 of file Log.cs.
Referenced by TiltFive.Logging.Log.Warn().
|
staticgetset |
Gets or sets the logging level.
The log level.
Definition at line 67 of file Log.cs.
Referenced by TiltFive.TiltFiveManager.Awake(), TiltFive.TiltFiveManager2.Awake(), TiltFive.Logging.Log.Debug(), TiltFive.Logging.Log.Error(), TiltFive.Logging.Log.Info(), TiltFive.Logging.Log.Verbose(), and TiltFive.Logging.Log.Warn().
|
staticgetset |
Gets or sets the logging tag.
The tag.
Definition at line 57 of file Log.cs.
Referenced by TiltFive.TiltFiveManager.Awake(), TiltFive.TiltFiveManager2.Awake(), and TiltFive.Logging.Log.log().