mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-24 09:24:12 +00:00
Add missing filter, fix verbose logging not appearing
This commit is contained in:
parent
fc9d611ba6
commit
2da4f3e0e3
1 changed files with 2 additions and 1 deletions
|
@ -101,12 +101,13 @@ namespace BirthdayBot
|
||||||
case "Connected":
|
case "Connected":
|
||||||
case "Ready":
|
case "Ready":
|
||||||
case "Failed to resume previous session":
|
case "Failed to resume previous session":
|
||||||
|
case "Resumed previous session":
|
||||||
case "Disconnecting":
|
case "Disconnecting":
|
||||||
case "Disconnected":
|
case "Disconnected":
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arg.Severity <= LogSeverity.Info) Log("Discord.Net", $"{arg.Severity}: {arg.Message}");
|
Log("Discord.Net", $"{arg.Severity}: {arg.Message}");
|
||||||
if (arg.Exception != null) Log("Discord.Net", arg.Exception.ToString());
|
if (arg.Exception != null) Log("Discord.Net", arg.Exception.ToString());
|
||||||
|
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
|
|
Loading…
Reference in a new issue