示例#1
0
 public Log AddLog(string message, object obj)
 {
     try
     {
         return(_dbLogger.Add(message, obj));
     }
     catch
     {
         return(_fileLogger.Add(message, obj));
     }
 }