mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Set the default to log TRACE level log messages
This is just while we're doing in-depth testing.
This commit is contained in:
parent
5aa100802b
commit
63479cae82
@ -91,7 +91,7 @@ namespace DisplayMagician {
|
||||
|
||||
// Rules for mapping loggers to targets
|
||||
NLog.LogLevel logLevel = null;
|
||||
switch (AppProgramSettings.LogLevel)
|
||||
/*switch (AppProgramSettings.LogLevel)
|
||||
{
|
||||
case "Trace":
|
||||
logLevel = NLog.LogLevel.Trace;
|
||||
@ -111,7 +111,12 @@ namespace DisplayMagician {
|
||||
default:
|
||||
logLevel = NLog.LogLevel.Info;
|
||||
break;
|
||||
}
|
||||
}*/
|
||||
|
||||
// TODO: **************************************** CHANGE THIS *******************************************
|
||||
// Force Logging to TRACE during debg
|
||||
logLevel = NLog.LogLevel.Trace;
|
||||
|
||||
|
||||
// Create the log file target
|
||||
var logfile = new NLog.Targets.FileTarget("logfile")
|
||||
|
Loading…
Reference in New Issue
Block a user