Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hbulens/744300add41cd1a6fccc6aaed32c18c1 to your computer and use it in GitHub Desktop.
Save hbulens/744300add41cd1a6fccc6aaed32c18c1 to your computer and use it in GitHub Desktop.
public interface ILogger
{
void LogDebug(string message);
void LogDebug(string message, string category);
void LogDebug(string message, Exception ex);
void LogDebug(string message, string category, Exception ex);
void LogInformation(string message);
void LogInformation(string message, string category);
void LogWarning(string message);
void LogWarning(string message, string category);
void LogWarning(string message, Exception ex);
void LogWarning(string message, string category, Exception ex);
void LogException(string message, Exception ex);
void LogException(string message, string category, Exception ex);
void LogFatalException(string message, Exception ex);
void LogFatalException(string message, string category, Exception ex);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment