mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
45 lines
1.0 KiB
C#
45 lines
1.0 KiB
C#
using System;
|
|
|
|
namespace MediaBrowser.Model.Logging
|
|
{
|
|
/// <summary>
|
|
/// Interface ILogManager
|
|
/// </summary>
|
|
public interface ILogManager
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the log level.
|
|
/// </summary>
|
|
/// <value>The log level.</value>
|
|
LogSeverity LogSeverity { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets the logger.
|
|
/// </summary>
|
|
/// <param name="name">The name.</param>
|
|
/// <returns>ILogger.</returns>
|
|
ILogger GetLogger(string name);
|
|
|
|
/// <summary>
|
|
/// Reloads the logger.
|
|
/// </summary>
|
|
void ReloadLogger(LogSeverity severity);
|
|
|
|
/// <summary>
|
|
/// Gets the log file path.
|
|
/// </summary>
|
|
/// <value>The log file path.</value>
|
|
string LogFilePath { get; }
|
|
|
|
/// <summary>
|
|
/// Occurs when [logger loaded].
|
|
/// </summary>
|
|
event EventHandler LoggerLoaded;
|
|
|
|
/// <summary>
|
|
/// Flushes this instance.
|
|
/// </summary>
|
|
void Flush();
|
|
}
|
|
}
|