Skip to content

Instantly share code, notes, and snippets.

@wshaddix
Created July 29, 2014 22:48
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 wshaddix/d28c4e1d3c4ea747062e to your computer and use it in GitHub Desktop.
Save wshaddix/d28c4e1d3c4ea747062e to your computer and use it in GitHub Desktop.
ILog Interface
using System.Runtime.CompilerServices;
namespace Insiders.Web.Infrastructure.Logging.Interfaces
{
public interface ILog
{
void Debug(string message, [CallerMemberName] string memberName = "");
void Debug(object data, [CallerMemberName] string memberName = "");
void Error(string message, [CallerMemberName] string memberName = "");
void Error(object data, [CallerMemberName] string memberName = "");
void Fatal(string message, [CallerMemberName] string memberName = "");
void Info(string message, [CallerMemberName] string memberName = "");
void Info(object data, [CallerMemberName] string memberName = "");
void Warn(string message, [CallerMemberName] string memberName = "");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment