Пример #1
0
 internal static void LogError(this WarfaceClient client, string message)
 => client.Config.Logger?.TraceEvent(TraceEventType.Error, 0, $"[{client.Jid}] {message}");
Пример #2
0
 internal static void LogInformation(this WarfaceClient client, string message)
 => client.Config.Logger?.TraceEvent(TraceEventType.Information, 0, $"[{client.Jid}] {message}");
Пример #3
0
 internal static void LogVerbose(this WarfaceClient client, string message)
 => client.Config.Logger?.TraceEvent(TraceEventType.Verbose, 0, $"[{client.Jid}]: {message}");