public static void HandleOnExit(Logging.ILogger appLogger) { Logging.LogMessage lm = appLogger.GetLogMessage(Logging.MesgType.Signif, "App Stopping", appLogger.GetStackFrame(0)); lm.KeywordArray = new string[] { "Application", "OnExit" }; appLogger.EmitLogMessage(ref lm); Logging.ShutdownLogging(); }
public static void HandleOnDeactivated(Logging.ILogger appLogger) { Logging.LogMessage lm = appLogger.GetLogMessage(Logging.MesgType.Signif, "App Deactiviated", appLogger.GetStackFrame(0)); lm.KeywordArray = new string[] { "Application", "OnDeactivated" }; appLogger.EmitLogMessage(ref lm); }