Beispiel #1
0
 public void DebugFormat(string format, params object[] args)
 {
     if (!IsDebugEnabled)
     {
         return;
     }
     string message = new SystemStringFormat(CultureInfo.InvariantCulture, format, args).ToString();
     Log(LogTypeEnum.DEBUG, message, null);
 }
Beispiel #2
0
 public void Log(LogTypeEnum logLevel, string logMessage, params object[] args)
 {
     string message = new SystemStringFormat(CultureInfo.InvariantCulture, logMessage, args).ToString();
     Log(logLevel, message);
 }