mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-28 08:35:41 +00:00
NLog - fixed debugger target name
This commit is contained in:
parent
ff5dc6f0ce
commit
6c34acc8b3
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ private static void RegisterDebugger()
|
||||||
target.Layout = "[${level}] [${threadid}] ${logger}: ${message} ${onexception:inner=${newline}${newline}${exception:format=ToString}${newline}}";
|
target.Layout = "[${level}] [${threadid}] ${logger}: ${message} ${onexception:inner=${newline}${newline}${exception:format=ToString}${newline}}";
|
||||||
|
|
||||||
var loggingRule = new LoggingRule("*", LogLevel.Trace, target);
|
var loggingRule = new LoggingRule("*", LogLevel.Trace, target);
|
||||||
LogManager.Configuration.AddTarget("console", target);
|
LogManager.Configuration.AddTarget("debugger", target);
|
||||||
LogManager.Configuration.LoggingRules.Add(loggingRule);
|
LogManager.Configuration.LoggingRules.Add(loggingRule);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue