using System.IO; using System.Threading.Tasks; using MediaBrowser.Controller.Net; using MediaBrowser.Model.ClientLog; namespace MediaBrowser.Controller.ClientEvent { /// /// The client event logger. /// public interface IClientEventLogger { /// /// Logs the event from the client. /// /// The client log event. void Log(ClientLogEvent clientLogEvent); /// /// Writes a file to the log directory. /// /// The current authorization info. /// The file contents to write. /// A representing the asynchronous operation. Task WriteDocumentAsync(AuthorizationInfo authorizationInfo, Stream fileContents); } }