public void LogError(Exception e, string message, params object[] args) { ServerLog.LogAsyncExceptionMessage(new LogExceptionMessage(PandaChat.BuildMessageNoLocal(GetFormattedMessage(string.Format(message, args)), ChatColor.red), e)); if (e.InnerException != null) { LogError(e.InnerException); } }
internal static void LogError(Exception e) { ServerLog.LogAsyncExceptionMessage(new Pipliz.LogExceptionMessage(PandaChat.BuildMessage("Exception", ChatColor.red), e)); if (e.InnerException != null) { LogError(e.InnerException); } }
internal static void LogError(Exception e, string message) { ServerLog.LogAsyncExceptionMessage(new Pipliz.LogExceptionMessage(PandaChat.BuildMessage(GetFormattedMessage(message), ChatColor.red), e)); if (e.InnerException != null) { LogError(e.InnerException); } }
public void LogError(Exception e, string message) { ServerLog.LogAsyncExceptionMessage(new LogExceptionMessage(PandaChat.BuildMessageNoLocal(GetFormattedMessage(message), ChatColor.red), e)); LogError(e); if (e.InnerException != null) { LogError(e.InnerException); } }
public void LogError(Exception e) { ServerLog.LogAsyncExceptionMessage(new LogExceptionMessage(PandaChat.BuildMessageNoLocal("Exception", ChatColor.red), e)); lock (_logQueue) { _logQueue.Enqueue(e.Message); _logQueue.Enqueue(e.StackTrace); } _loggerSemaphore.Set(); if (e.InnerException != null) { LogError(e.InnerException); } }