Beispiel #1
0
 public static void LogFatal(this IDDLogger logger, string message, params object[] args)
 {
     logger.Log(DDEventType.Fatal, message, args);
 }
Beispiel #2
0
 public static void LogException(this IDDLogger logger, Exception exception, DDEventType eventtype = DDEventType.Error)
 {
     logger.Log(new DDLogEntry(eventtype, exception.Message, null, exception));
 }
Beispiel #3
0
 public static void Log(this IDDLogger logger, DDEventType eventtype, string message)
 {
     logger.Log(new DDLogEntry(eventtype, message, null, null));
 }
Beispiel #4
0
 public static void LogFatal(this IDDLogger logger, string message)
 {
     logger.Log(DDEventType.Fatal, message);
 }
Beispiel #5
0
 public static void LogError(this IDDLogger logger, string message)
 {
     logger.Log(DDEventType.Error, message);
 }
Beispiel #6
0
 public static void LogError(this IDDLogger logger, string message, params object[] args)
 {
     logger.Log(DDEventType.Warning, message, args);
 }
Beispiel #7
0
 public static void LogWarning(this IDDLogger logger, string message)
 {
     logger.Log(DDEventType.Warning, message);
 }
Beispiel #8
0
 public static void LogInfo(this IDDLogger logger, string message, params object[] args)
 {
     logger.Log(DDEventType.Information, message, args);
 }
Beispiel #9
0
 public static void LogInfo(this IDDLogger logger, string message)
 {
     logger.Log(DDEventType.Information, message);
 }
Beispiel #10
0
 public static void LogDebug(this IDDLogger logger, string message)
 {
     logger.Log(DDEventType.Debug, message);
 }
Beispiel #11
0
 public static void Log(this IDDLogger logger, DDEventType eventtype, string message, params object[] args)
 {
     logger.Log(new DDLogEntry(eventtype, string.Format(message, args), null, null));
 }