mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Switch back to user spec debugging
During development I'd purposely set the debug log to TRACE. This chages it back to a user setting.
This commit is contained in:
parent
8216d307e7
commit
02ce747d3c
@ -89,7 +89,7 @@ namespace DisplayMagician {
|
|||||||
|
|
||||||
// Rules for mapping loggers to targets
|
// Rules for mapping loggers to targets
|
||||||
NLog.LogLevel logLevel = null;
|
NLog.LogLevel logLevel = null;
|
||||||
/*switch (AppProgramSettings.LogLevel)
|
switch (AppProgramSettings.LogLevel)
|
||||||
{
|
{
|
||||||
case "Trace":
|
case "Trace":
|
||||||
logLevel = NLog.LogLevel.Trace;
|
logLevel = NLog.LogLevel.Trace;
|
||||||
@ -109,11 +109,7 @@ namespace DisplayMagician {
|
|||||||
default:
|
default:
|
||||||
logLevel = NLog.LogLevel.Info;
|
logLevel = NLog.LogLevel.Info;
|
||||||
break;
|
break;
|
||||||
}*/
|
}
|
||||||
|
|
||||||
// TODO: **************************************** CHANGE THIS *******************************************
|
|
||||||
// Force Logging to TRACE during debg
|
|
||||||
logLevel = NLog.LogLevel.Trace;
|
|
||||||
|
|
||||||
|
|
||||||
// Create the log file target
|
// Create the log file target
|
||||||
@ -224,9 +220,9 @@ namespace DisplayMagician {
|
|||||||
UnrecognizedArgumentHandling = UnrecognizedArgumentHandling.StopParsingAndCollect,
|
UnrecognizedArgumentHandling = UnrecognizedArgumentHandling.StopParsingAndCollect,
|
||||||
};
|
};
|
||||||
|
|
||||||
app.Description = "This application helps configure your NVIDIA Videocard for multiple displays.";
|
app.Description = "DisplayMagician is an open source tool for automatically configuring your displays and sound for a game or application from a single Windows Shortcut.";
|
||||||
app.ExtendedHelpText = "This application helps configure your NVIDIA Videocard for multiple displays. It has some nifty features such as the "
|
app.ExtendedHelpText = "DisplayMagician is an open source tool for automatically configuring your displays and sound for a game"
|
||||||
+ Environment.NewLine + " ability to temporarily change your screen settings while you are playing a game, and then change them back once finished.";
|
+ Environment.NewLine + "or application from a single Windows Shortcut, and reverting them back when finished.";
|
||||||
|
|
||||||
app.GetFullNameAndVersion();
|
app.GetFullNameAndVersion();
|
||||||
app.MakeSuggestionsInErrorMessage = true;
|
app.MakeSuggestionsInErrorMessage = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user