summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-03-21 12:57:48 +0000
committersr55 <[email protected]>2016-03-21 12:57:48 +0000
commita3e695dd5c0d23692ed0e99624723e39305cdd8d (patch)
treef0e35b49e53372022af3a78245668a76193230b4 /win/CS/HandBrake.ApplicationServices/Services
parent9e9167bb63f14f176913cc42521d45639512c15a (diff)
WinGui: Some fixes and tidyup of the new logging code.
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs6
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Logging/Model/LogMessageType.cs2
2 files changed, 4 insertions, 4 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs b/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs
index cd0d5a483..b0292ca31 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs
@@ -120,7 +120,7 @@ namespace HandBrake.ApplicationServices.Services.Logging
this.messageIndex = this.messageIndex + 1;
msg = new LogMessage(
"Log Service Pausing. Too Many Log messages. This may indicate a problem with your encode.",
- LogMessageType.Vital,
+ LogMessageType.Application,
LogLevel.Error,
this.messageIndex);
this.logMessages.Add(msg);
@@ -204,7 +204,7 @@ namespace HandBrake.ApplicationServices.Services.Logging
}
catch (Exception exc)
{
- this.LogMessage("Failed to Initialise Disk Logging. " + Environment.NewLine + exc, LogMessageType.Vital, LogLevel.Error);
+ this.LogMessage("Failed to Initialise Disk Logging. " + Environment.NewLine + exc, LogMessageType.Application, LogLevel.Error);
if (this.fileWriter != null)
{
@@ -227,7 +227,7 @@ namespace HandBrake.ApplicationServices.Services.Logging
public void SetupLogHeader(string header)
{
this.logHeader = header;
- this.LogMessage(header, LogMessageType.Vital, LogLevel.Info);
+ this.LogMessage(header, LogMessageType.Application, LogLevel.Info);
}
/// <summary>
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Logging/Model/LogMessageType.cs b/win/CS/HandBrake.ApplicationServices/Services/Logging/Model/LogMessageType.cs
index 47302a872..dfa467b4a 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/Logging/Model/LogMessageType.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/Logging/Model/LogMessageType.cs
@@ -17,6 +17,6 @@ namespace HandBrake.ApplicationServices.Services.Logging.Model
ScanOrEncode,
API,
Progress,
- Vital,
+ Application,
}
}