Exemple #1
0
        private void LogAction(string s, LogLevel logLevel, object arg3)
        {
            if (!this.LogLevel.HasFlag(logLevel))
            {
                return;
            }

            if (this.logMessages.Count > 5000)
            {
                this.logMessages.RemoveAt(this.logMessages.Count - 1);
            }

            // this.logMessages.Insert(0, new LogMessageModel(s, logLevel, DateTime.Now));
        }
        private void LogAction(string s, LogLevel logLevel, object arg3)
        {
            if (!this.LogLevel.HasFlag(logLevel))
            {
                return;
            }

            if (this.logMessages.Count > 5000)
            {
                this.logMessages.RemoveAt(this.logMessages.Count - 1);
            }

            // this.logMessages.Insert(0, new LogMessageModel(s, logLevel, DateTime.Now));
        }