using System.IO;
using System.Threading.Tasks;
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 file name.
/// The file contents.
/// A representing the asynchronous operation.
Task WriteFileAsync(string fileName, Stream fileContents);
}
}