Пример #1
0
 public static void Test(bool comparison, object message = null, params object[] argv)
 {
     if (comparison)
     {
         return;
     }
     if (LogLevel.DEBUG == (BaseLogger.currentLogLevels & LogLevel.DEBUG))
     {
         string messageFormat = "";
         if (message != null)
         {
             messageFormat = BaseLogger.LoggerStringFormat(message.ToString(), argv);
         }
         else
         {
             messageFormat = "comparison not pass!!";
         }
         BaseLogger.Debug("Test + " + messageFormat + " #");
     }
 }