/// <summary>Logs a message.</summary> public void Log(string message, LogSeverity severity, string source = LogSource.Bot) { if (severity > logLevel || message.ContainsAny(hardExclusions)) { return; } logger.Write(severity.ToSerilog(), $"{source}> {message}"); }