The Logger. More...
Static Public Member Functions | |
| static void | Debug (string m, params object[] list) |
| DEBUG logging function call. | |
| static void | Error (string m, params object[] list) |
| ERROR logging function call. | |
| static void | Info (string m, params object[] list) |
| INFO logging function call. | |
| static void | Verbose (string m, params object[] list) |
| VERBOSE logging function call. | |
| static void | Warn (string m, params object[] list) |
| WARN logging function call. | |
Static Public Attributes | |
| const int | DEBUG_LEVEL = 1 |
| DEBUG logging level as an int. | |
| const int | ERROR_LEVEL = 4 |
| ERROR logging level as an int. | |
| const int | INFO_LEVEL = 2 |
| INFO logging level as an int. | |
| const int | VERBOSE_LEVEL = 0 |
| VERBOSE logging level as an int. | |
| const int | WARN_LEVEL = 3 |
| WARN logging level as an int. | |
| const int | DISABLED = 5 |
| DISABLED logging level as an int. | |
Properties | |
| static string | TAG [get, set] |
| Gets or sets the logging tag. | |
| static int | LogLevel [get, set] |
| Gets or sets the logging level. | |
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. | |
Private Attributes | |
| ILogger | logger = UnityEngine.Debug.unityLogger |
| The logger instance. | |
| string | tag = "Tilt Five, Inc." |
| The logging tag. | |
| int | level = VERBOSE_LEVEL |
| The logging level. | |
Static Private Attributes | |
| const string | DEBUG = "DEBUG" |
| DEBUG logging level as a string. | |
| const string | ERROR = "ERROR" |
| ERROR logging level as a string. | |
| const string | INFO = "INFO" |
| INFO logging level as a string. | |
| const string | VERBOSE = "VERBOSE" |
| VERBOSE logging level as a string. | |
| const string | WARN = "WARN" |
| WARN logging level as a string. | |
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.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.Glasses.Reset(), TiltFive.Display.SetApplicationInfoImpl(), TiltFive.Input.SetRumbleMotor(), TiltFive.CameraImage.CameraImageCore.TryCancelCameraImageBuffer(), TiltFive.Wand.WandCore.TryCheckConnected(), TiltFive.CameraImage.CameraImageCore.TryConfigureCameraImageStream(), TiltFive.CameraImage.CameraImageCore.TryGetFilledCameraImageBuffer(), TiltFive.Glasses.GlassesCore.TryGetFriendlyName(), TiltFive.GameBoard.TryGetGameboardDimensions(), TiltFive.Glasses.BaseGlassesCore.TryGetStateFromPlugin(), TiltFive.Wand.TryGetWandAvailability(), TiltFive.Wand.TryScanForWands(), 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.Display.SetApplicationInfoImpl(), TiltFive.Wand.WandCore.TryCheckConnected(), TiltFive.Wand.TryGetWandAvailability(), TiltFive.Wand.TryScanForWands(), 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(), 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.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.Logging.Log.log().