Browse Source

Added missing logger method

tags/1.0-rc
RogueException 9 years ago
parent
commit
dea73042aa
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/Discord.Net/Logging/Logger.cs

+ 2
- 0
src/Discord.Net/Logging/Logger.cs View File

@@ -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)


Loading…
Cancel
Save