Interface ILogger
Interface ILogger
Namespace: MediaBrowser.Model.Logging
Assembly: MediaBrowser.Model.dll
Syntax
public interface ILogger
Methods
Debug(ReadOnlyMemory<Char>)
Declaration
[Obsolete("Do not use. This member will be removed in future versions.", true)]
void Debug(ReadOnlyMemory<char> message)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlyMemory<System.Char> | message |
Debug(String, Object[])
Debugs the specified message.
Declaration
void Debug(string message, params object[] paramList)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Object[] | paramList | The param list. |
Error(ReadOnlyMemory<Char>)
Declaration
[Obsolete("Do not use. This member will be removed in future versions.", true)]
void Error(ReadOnlyMemory<char> message)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlyMemory<System.Char> | message |
Error(String, Object[])
Errors the specified message.
Declaration
void Error(string message, params object[] paramList)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Object[] | paramList | The param list. |
ErrorException(String, Exception, Object[])
Logs the exception.
Declaration
void ErrorException(string message, Exception exception, params object[] paramList)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Exception | exception | The exception. |
System.Object[] | paramList | The param list. |
Fatal(String, Object[])
Fatals the specified message.
Declaration
void Fatal(string message, params object[] paramList)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Object[] | paramList | The param list. |
FatalException(String, Exception, Object[])
Fatals the exception.
Declaration
void FatalException(string message, Exception exception, params object[] paramList)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Exception | exception | The exception. |
System.Object[] | paramList | The param list. |
Info(ReadOnlyMemory<Char>)
Declaration
[Obsolete("Do not use. This member will be removed in future versions.", true)]
void Info(ReadOnlyMemory<char> message)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlyMemory<System.Char> | message |
Info(String, Object[])
Infoes the specified message.
Declaration
void Info(string message, params object[] paramList)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Object[] | paramList | The param list. |
Log(LogSeverity, ReadOnlyMemory<Char>)
Declaration
[Obsolete("Do not use. This member will be removed in future versions.", true)]
void Log(LogSeverity severity, ReadOnlyMemory<char> message)
Parameters
Type | Name | Description |
---|---|---|
LogSeverity | severity | |
System.ReadOnlyMemory<System.Char> | message |
Log(LogSeverity, String, Object[])
Logs the specified severity.
Declaration
void Log(LogSeverity severity, string message, params object[] paramList)
Parameters
Type | Name | Description |
---|---|---|
LogSeverity | severity | The severity. |
System.String | message | The message. |
System.Object[] | paramList | The parameter list. |
LogMultiline(String, LogSeverity, StringBuilder)
Logs the multiline.
Declaration
void LogMultiline(string message, LogSeverity severity, StringBuilder additionalContent)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
LogSeverity | severity | The severity. |
System.Text.StringBuilder | additionalContent | Content of the additional. |
Warn(ReadOnlyMemory<Char>)
Declaration
[Obsolete("Do not use. This member will be removed in future versions.", true)]
void Warn(ReadOnlyMemory<char> message)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlyMemory<System.Char> | message |
Warn(String, Object[])
Warns the specified message.
Declaration
void Warn(string message, params object[] paramList)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Object[] | paramList | The param list. |