mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Forced TRACE level logging while dev happening
I've set this as it was too onerous continuously teaching people how to turn on TRACE logging. While there are a large number of big changes taking place with DisplayMagician, this will minimise the backwards and forwards it takes to get the right level of log information for me to troubleshoot each issue.
This commit is contained in:
parent
c5b06988dd
commit
6445140924
@ -105,7 +105,7 @@ namespace DisplayMagician {
|
||||
AppProgramSettings = ProgramSettings.LoadSettings();
|
||||
|
||||
// Rules for mapping loggers to targets
|
||||
NLog.LogLevel logLevel = null;
|
||||
/*NLog.LogLevel logLevel = null;
|
||||
switch (AppProgramSettings.LogLevel)
|
||||
{
|
||||
case "Trace":
|
||||
@ -126,8 +126,12 @@ namespace DisplayMagician {
|
||||
default:
|
||||
logLevel = NLog.LogLevel.Info;
|
||||
break;
|
||||
}
|
||||
|
||||
}*/
|
||||
// TODO - remove this temporary action to force Trace level logging
|
||||
// I've set this as it was too onerous continuously teaching people how to turn on TRACE logging
|
||||
// While there are a large number of big changes taking place with DisplayMagician, this will minimise
|
||||
// the backwards and forwards it takes to get the right level of log information for me to troubleshoot.
|
||||
NLog.LogLevel logLevel = NLog.LogLevel.Trace;
|
||||
|
||||
// Create the log file target
|
||||
var logfile = new NLog.Targets.FileTarget("logfile")
|
||||
|
@ -26,8 +26,8 @@ using System.Resources;
|
||||
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]
|
||||
|
||||
// Version information
|
||||
[assembly: AssemblyVersion("2.0.1.89")]
|
||||
[assembly: AssemblyFileVersion("2.0.1.89")]
|
||||
[assembly: AssemblyVersion("2.0.1.90")]
|
||||
[assembly: AssemblyFileVersion("2.0.1.90")]
|
||||
[assembly: NeutralResourcesLanguageAttribute( "en" )]
|
||||
[assembly: CLSCompliant(true)]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user