Beispiel #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;
            }
        }
Beispiel #2
0
 public void Fatal(object message, Exception exception)
 {
     UnderlyingLog.Fatal(message, exception);
 }
Beispiel #3
0
 public void DebugFormat(string format, params object[] args)
 {
     UnderlyingLog.DebugFormat(format, args);
 }
Beispiel #4
0
 public void ErrorFormat(string format, params object[] args)
 {
     UnderlyingLog.ErrorFormat(format, args);
 }
Beispiel #5
0
 public void DebugFormat(string format, object arg0)
 {
     UnderlyingLog.DebugFormat(format, arg0);
 }
Beispiel #6
0
 public void FatalFormat(string format, object arg0)
 {
     UnderlyingLog.FatalFormat(format, arg0);
 }
Beispiel #7
0
 public void Error(object message, Exception exception)
 {
     UnderlyingLog.Error(message, exception);
 }
Beispiel #8
0
 public void Info(object message)
 {
     UnderlyingLog.Info(message);
 }
Beispiel #9
0
 public void InfoFormat(string format, object arg0)
 {
     UnderlyingLog.InfoFormat(format, arg0);
 }
Beispiel #10
0
 public void WarnFormat(string format, params object[] args)
 {
     UnderlyingLog.WarnFormat(format, args);
 }
Beispiel #11
0
 public void Info(object message, Exception exception)
 {
     UnderlyingLog.Info(message, exception);
 }
Beispiel #12
0
 public void WarnFormat(string format, object arg0, object arg1, object arg2)
 {
     UnderlyingLog.WarnFormat(format, arg0, arg1, arg2);
 }
Beispiel #13
0
 public void Warn(object message)
 {
     UnderlyingLog.Warn(message);
 }
Beispiel #14
0
 public void Warn(object message, Exception exception)
 {
     UnderlyingLog.Warn(message, exception);
 }
Beispiel #15
0
 public void Fatal(object message)
 {
     UnderlyingLog.Fatal(message);
 }
Beispiel #16
0
 public void InfoFormat(string format, params object[] args)
 {
     UnderlyingLog.InfoFormat(format, args);
 }
Beispiel #17
0
 public void FatalFormat(IFormatProvider provider, string format, params object[] args)
 {
     UnderlyingLog.FatalFormat(provider, format, args);
 }
Beispiel #18
0
 public void Debug(object message, Exception exception)
 {
     UnderlyingLog.Debug(message, exception);
 }
Beispiel #19
0
 public void FatalFormat(string format, params object[] args)
 {
     UnderlyingLog.FatalFormat(format, args);
 }
Beispiel #20
0
 public void Debug(object message)
 {
     UnderlyingLog.Debug(message);
 }
Beispiel #21
0
 public void Error(object message)
 {
     UnderlyingLog.Error(message);
 }
Beispiel #22
0
 public void ErrorFormat(string format, object arg0)
 {
     UnderlyingLog.ErrorFormat(format, arg0);
 }