Interface ILogManager
Interface ILogManager
Namespace: MediaBrowser.Model.Logging
Assembly: MediaBrowser.Model.dll
Syntax
public interface ILogManagerProperties
ExceptionMessagePrefix
Gets or sets the exception message prefix.
Declaration
string ExceptionMessagePrefix { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | The exception message prefix. | 
LogSeverity
Gets or sets the log level.
Declaration
LogSeverity LogSeverity { get; set; }Property Value
| Type | Description | 
|---|---|
| LogSeverity | The log level. | 
Methods
AddConsoleOutput()
Adds the console output.
Declaration
void AddConsoleOutput()Flush()
Flushes this instance.
Declaration
void Flush()GetLogger(String)
Gets the logger.
Declaration
ILogger GetLogger(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
Returns
| Type | Description | 
|---|---|
| ILogger | ILogger. | 
ReloadLogger(LogSeverity, CancellationToken)
Reloads the logger.
Declaration
Task ReloadLogger(LogSeverity severity, CancellationToken cancellationToken)Parameters
| Type | Name | Description | 
|---|---|---|
| LogSeverity | severity | |
| System.Threading.CancellationToken | cancellationToken | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task | 
RemoveConsoleOutput()
Removes the console output.
Declaration
void RemoveConsoleOutput()Events
LoggerLoaded
Occurs when [logger loaded].
Declaration
event EventHandler LoggerLoadedEvent Type
| Type | Description | 
|---|---|
| System.EventHandler |