From dea73042aa190da8206b1049e02721c09f7369b3 Mon Sep 17 00:00:00 2001 From: RogueException Date: Thu, 9 Jun 2016 02:30:05 -0300 Subject: [PATCH] Added missing logger method --- src/Discord.Net/Logging/Logger.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Discord.Net/Logging/Logger.cs b/src/Discord.Net/Logging/Logger.cs index 36897ea44..2255f4451 100644 --- a/src/Discord.Net/Logging/Logger.cs +++ b/src/Discord.Net/Logging/Logger.cs @@ -16,6 +16,8 @@ namespace Discord.Logging Name = name; } + public Task LogAsync(LogSeverity severity, Exception exception = null) + => _manager.LogAsync(severity, Name, exception); public Task LogAsync(LogSeverity severity, string message, Exception exception = null) => _manager.LogAsync(severity, Name, message, exception); public Task LogAsync(LogSeverity severity, FormattableString message, Exception exception = null)