Skip to content

Instantly share code, notes, and snippets.

@jchannon
Created March 22, 2012 10:08
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 jchannon/2157537 to your computer and use it in GitHub Desktop.
Save jchannon/2157537 to your computer and use it in GitHub Desktop.
LoggingRule rule2 = new LoggingRule("*", fileTarget);
rule2.EnableLoggingForLevel(LogLevel.Info);
LoggingRule rule3 = new LoggingRule("*", debugfileTarget);
rule3.EnableLoggingForLevel(LogLevel.Debug);
rule3.EnableLoggingForLevel(LogLevel.Error);
rule3.EnableLoggingForLevel(LogLevel.Fatal);
rule3.EnableLoggingForLevel(LogLevel.Trace);
rule3.EnableLoggingForLevel(LogLevel.Warn);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment