public static void Error(object o, string s) { if (null != LogsErrorEvent) LogsErrorEvent(o, new LogEventArgs(LogLevel.Error, DateTime.Now, EscapeNonPrintables(s))); }