Added reference project

This commit is contained in:
RogueException
2016-02-24 19:36:18 -04:00
parent 27d7e9915b
commit 36ea8b8c3a
68 changed files with 1515 additions and 0 deletions

30
ref/ILogger.cs Normal file
View File

@@ -0,0 +1,30 @@
using System;
namespace Discord.Logging
{
public interface ILogger
{
LogSeverity Level { get; }
void Log(LogSeverity severity, string message, Exception exception = null);
void Error(string message, Exception exception = null);
void Error(Exception exception);
void Warning(string message, Exception exception = null);
void Warning(Exception exception);
void Info(string message, Exception exception = null);
void Info(Exception exception);
void Verbose(string message, Exception exception = null);
void Verbose(Exception exception);
void Debug(string message, Exception exception = null);
void Debug(Exception exception);
#if DOTNET5_4
void Log(LogSeverity severity, FormattableString message, Exception exception = null);
void Error(FormattableString message, Exception exception = null);
void Warning(FormattableString message, Exception exception = null);
void Info(FormattableString message, Exception exception = null);
void Verbose(FormattableString message, Exception exception = null);
void Debug(FormattableString message, Exception exception = null);
#endif
}
}