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