Пример #1
0
        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();
        }
Пример #2
0
 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);
 }