Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 60153f73 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

Changed Errors in Logger

parent bc6bece2
No related branches found
No related tags found
No related merge requests found
......@@ -61,8 +61,8 @@ Examples:
}
var config = LogManager.Configuration;
config.LoggingRules.Add(new LoggingRule("*", logLevel, config.FindTargetByName("Console")));
config.LoggingRules.Add(new LoggingRule("*", logLevel, config.FindTargetByName("File")));
config.LoggingRules.Add(new LoggingRule("*", logLevel, config.FindTargetByName("ConsoleLogger")));
config.LoggingRules.Add(new LoggingRule("*", logLevel, config.FindTargetByName("LogFile")));
LogManager.Configuration = config;
Trace.Listeners.Add(new ConsoleTraceListener(true));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment