Beispiel #1
0
 private void SendMessage(BaseChat chat, string message, LogValueType value, params object[] args)
 {
     if (MinValue <= value && MaxValue >= value)
     {
         SendMessage(string.Format(TypeFormat_Chat, value, chat.PeerId, string.Format(message, args)));
     }
 }
Beispiel #2
0
 public void Fatal(BaseChat chat, string message, params object[] args) => SendMessage(chat, message, LogValueType.FATAL, args);
Beispiel #3
0
 public void Error(BaseChat chat, string message, params object[] args) => SendMessage(chat, message, LogValueType.ERROR, args);
Beispiel #4
0
 public void Warn(BaseChat chat, string message, params object[] args) => SendMessage(chat, message, LogValueType.WARN, args);
Beispiel #5
0
 public void Info(BaseChat chat, string message, params object[] args) => SendMessage(chat, message, LogValueType.INFO, args);
Beispiel #6
0
 public void Debug(BaseChat chat, string message, params object[] args) => SendMessage(chat, message, LogValueType.DEBUG, args);