GEMDebug¶
Namespace: wevr.GEM.Runtime
Type: Class
Description¶
Debugger for GEM. Handles printing things in console based on the GEM debug level. All functions are posted to the unitysyncrhonizationcontext since a lot of gem logs may be coming from a threaded function and have to be synced back to the main thread.
Methods¶
Log¶
static void Log(string message, DebugLevel debugLevel=DebugLevel.Debug)
LogDisplay¶
static void LogDisplay(string message, bool logInConsole=false)
Special log event that is displayed to the final users in releases.
LogDisplay¶
static void LogDisplay(GEMLanguage.ReleaseMessages releaseMessage, params object[] args)
LogError¶
static void LogError(string message)
LogException¶
static void LogException(Exception exception)
LogWarning¶
static void LogWarning(string message)
Fields¶
logErrorEvent¶
static Action< string > logErrorEvent
logEvent¶
static Action< DebugLevel, string > logEvent
logExceptionEvent¶
static Action< string > logExceptionEvent
logReleaseEvent¶
static Action< string > logReleaseEvent
logWarningEvent¶
static Action< string > logWarningEvent