internal static void LogError(this WarfaceClient client, string message) => client.Config.Logger?.TraceEvent(TraceEventType.Error, 0, $"[{client.Jid}] {message}");
internal static void LogInformation(this WarfaceClient client, string message) => client.Config.Logger?.TraceEvent(TraceEventType.Information, 0, $"[{client.Jid}] {message}");
internal static void LogVerbose(this WarfaceClient client, string message) => client.Config.Logger?.TraceEvent(TraceEventType.Verbose, 0, $"[{client.Jid}]: {message}");