diff options
author | sr55 <[email protected]> | 2020-10-24 16:52:16 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2020-10-24 16:52:16 +0100 |
commit | 030ecc52477a7636aeab96a5496b640884b85f1b (patch) | |
tree | ba023cc872eeb1ab5c34304db74071c634599021 /win/CS/HandBrakeWPF/Helpers | |
parent | 85bba8d17e5398183ba380225fe6b121a57e75f2 (diff) |
WinGui: Simultaneous encode improvements.
- Improvements to the hardware resource manager that determines simultaneous job processing.
- Reliability improvements in multiple log file handling.
Diffstat (limited to 'win/CS/HandBrakeWPF/Helpers')
-rw-r--r-- | win/CS/HandBrakeWPF/Helpers/LogManager.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/LogManager.cs b/win/CS/HandBrakeWPF/Helpers/LogManager.cs index f0c5bfd78..d6100781e 100644 --- a/win/CS/HandBrakeWPF/Helpers/LogManager.cs +++ b/win/CS/HandBrakeWPF/Helpers/LogManager.cs @@ -19,7 +19,7 @@ namespace HandBrakeWPF.Helpers using HandBrakeWPF.Services.Logging.Interfaces; using HandBrakeWPF.Utilities; - using ILog = HandBrakeWPF.Services.Logging.Interfaces.ILog; + using ILog = Services.Logging.Interfaces.ILog; public static class LogManager { @@ -29,13 +29,12 @@ namespace HandBrakeWPF.Helpers { generalAppLogger = IoC.Get<ILog>(); string logDir = DirectoryUtilities.GetLogDirectory(); - string filename = string.Format("activity_log.{0}.txt", GeneralUtilities.ProcessId); + string filename = string.Format("activity_log_main.{0}.txt", GeneralUtilities.ProcessId); string logFile = Path.Combine(logDir, filename); generalAppLogger.ConfigureLogging(logFile); - IoC.Get<ILogInstanceManager>().RegisterLoggerInstance(filename, generalAppLogger, true); + IoC.Get<ILogInstanceManager>().Register(filename, generalAppLogger, true); - HandBrakeUtils.MessageLogged += HandBrakeUtils_MessageLogged; HandBrakeUtils.ErrorLogged += HandBrakeUtils_ErrorLogged; } |