From a3e695dd5c0d23692ed0e99624723e39305cdd8d Mon Sep 17 00:00:00 2001 From: sr55 Date: Mon, 21 Mar 2016 12:57:48 +0000 Subject: WinGui: Some fixes and tidyup of the new logging code. --- win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs') 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); } /// -- cgit v1.2.3