// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // Defines the ILog type. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.Services.Logging.Interfaces { using System; using System.Collections.Generic; using HandBrake.Worker.Logging.Interfaces; using HandBrake.Worker.Logging.Models; using HandBrakeWPF.Services.Logging.Model; using LogEventArgs = HandBrakeWPF.Services.Logging.EventArgs.LogEventArgs; /// /// The Log interface. /// public interface ILog : ILogHandler { /// /// The message logged. /// event EventHandler MessageLogged; /// /// The log reset event /// event EventHandler LogReset; /// /// Enable logging for this worker process. /// /// /// Configuration for the logger. /// /// /// If this is not called, all log messages from libhb will be ignored. /// void ConfigureLogging(LogHandlerConfig config); /// /// Log a message. /// /// /// The content of the log message, /// void LogMessage(string content); } }