Skip to content

Instantly share code, notes, and snippets.

@logicbomb
Created August 21, 2012 04:31
Show Gist options
  • Save logicbomb/3411581 to your computer and use it in GitHub Desktop.
Save logicbomb/3411581 to your computer and use it in GitHub Desktop.
public enum CoreLogLevel
{
Debug, Error, Fatal, Info, Warn
}
public interface ICoreLogService
{
void Start(Uri saveLocation, int persistAfterThisManyMessagesHaveBeenLogged = 1);
void Stop();
void LogMessage(CoreLogLevel level, ILoggingSource source, string msg, params object[] formatParameters);
void LogMessage(CoreLogLevel level, ILoggingSource source, Exception e, string msg, params object[] formatParameters);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment