Example #1
0
        protected override void Log(string message, params object[] formatParameters)
        {
            string formatted = String.Format(message, formatParameters);

            formatted = LogFormat.Replace("{date}", DateTime.Now.ToString("yyyy-MM-dd"))
                        .Replace("{time}", DateTime.Now.ToString("HH:mm:ss:fff"))
                        .Replace("{message}", formatted);

            SessionManager.AddNotification(formatted);
        }