mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 11:07:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			757 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			757 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System.IO;
 | 
						|
using System.Threading.Tasks;
 | 
						|
 | 
						|
namespace MediaBrowser.Controller.ClientEvent
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// The client event logger.
 | 
						|
    /// </summary>
 | 
						|
    public interface IClientEventLogger
 | 
						|
    {
 | 
						|
        /// <summary>
 | 
						|
        /// Writes a file to the log directory.
 | 
						|
        /// </summary>
 | 
						|
        /// <param name="clientName">The client name writing the document.</param>
 | 
						|
        /// <param name="clientVersion">The client version writing the document.</param>
 | 
						|
        /// <param name="fileContents">The file contents to write.</param>
 | 
						|
        /// <returns>The created file name.</returns>
 | 
						|
        Task<string> WriteDocumentAsync(
 | 
						|
            string clientName,
 | 
						|
            string clientVersion,
 | 
						|
            Stream fileContents);
 | 
						|
    }
 | 
						|
}
 |