Example #1
0
        /// <summary>
        /// Use underlying log4net log
        /// </summary>
        /// <param name="message"></param>
        /// <param name="category"></param>
        /// <param name="priority"></param>
        public void Log(string message, Category category, Priority priority)
        {
            switch (category)
            {
            case Category.Debug:
                UnderlyingLog.Debug(message);
                break;

            case Category.Info:
                UnderlyingLog.Info(message);
                break;

            case Category.Warn:
                UnderlyingLog.Warn(message);
                break;

            case Category.Exception:
                if (priority != Priority.High)
                {
                    UnderlyingLog.Error(message);
                }
                else
                {
                    UnderlyingLog.Fatal(message);
                }
                break;
            }
        }
Example #2
0
 public void Fatal(object message, Exception exception)
 {
     UnderlyingLog.Fatal(message, exception);
 }
Example #3
0
 public void DebugFormat(string format, params object[] args)
 {
     UnderlyingLog.DebugFormat(format, args);
 }
Example #4
0
 public void ErrorFormat(string format, params object[] args)
 {
     UnderlyingLog.ErrorFormat(format, args);
 }
Example #5
0
 public void DebugFormat(string format, object arg0)
 {
     UnderlyingLog.DebugFormat(format, arg0);
 }
Example #6
0
 public void FatalFormat(string format, object arg0)
 {
     UnderlyingLog.FatalFormat(format, arg0);
 }
Example #7
0
 public void Error(object message, Exception exception)
 {
     UnderlyingLog.Error(message, exception);
 }
Example #8
0
 public void Info(object message)
 {
     UnderlyingLog.Info(message);
 }
Example #9
0
 public void InfoFormat(string format, object arg0)
 {
     UnderlyingLog.InfoFormat(format, arg0);
 }
Example #10
0
 public void WarnFormat(string format, params object[] args)
 {
     UnderlyingLog.WarnFormat(format, args);
 }
Example #11
0
 public void Info(object message, Exception exception)
 {
     UnderlyingLog.Info(message, exception);
 }
Example #12
0
 public void WarnFormat(string format, object arg0, object arg1, object arg2)
 {
     UnderlyingLog.WarnFormat(format, arg0, arg1, arg2);
 }
Example #13
0
 public void Warn(object message)
 {
     UnderlyingLog.Warn(message);
 }
Example #14
0
 public void Warn(object message, Exception exception)
 {
     UnderlyingLog.Warn(message, exception);
 }
Example #15
0
 public void Fatal(object message)
 {
     UnderlyingLog.Fatal(message);
 }
Example #16
0
 public void InfoFormat(string format, params object[] args)
 {
     UnderlyingLog.InfoFormat(format, args);
 }
Example #17
0
 public void FatalFormat(IFormatProvider provider, string format, params object[] args)
 {
     UnderlyingLog.FatalFormat(provider, format, args);
 }
Example #18
0
 public void Debug(object message, Exception exception)
 {
     UnderlyingLog.Debug(message, exception);
 }
Example #19
0
 public void FatalFormat(string format, params object[] args)
 {
     UnderlyingLog.FatalFormat(format, args);
 }
Example #20
0
 public void Debug(object message)
 {
     UnderlyingLog.Debug(message);
 }
Example #21
0
 public void Error(object message)
 {
     UnderlyingLog.Error(message);
 }
Example #22
0
 public void ErrorFormat(string format, object arg0)
 {
     UnderlyingLog.ErrorFormat(format, arg0);
 }