ILogger Interface
A generic interface for logging.
Namespace: Microsoft.Owin.Logging
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
public interface ILogger
public interface class ILogger
type ILogger = interface end
Public Interface ILogger
Methods
Name | Description | |
---|---|---|
WriteCore(TraceEventType, Int32, Object, Exception, Func<Object, Exception, String>) | Aggregates most logging patterns to a single method. This must be compatible with the Func representation in the OWIN environment. To check IsEnabled call WriteCore with only TraceEventType and check the return value, no event will be written. |
Extension Methods
Name | Description | |
---|---|---|
IsEnabled(TraceEventType) | Checks if the given TraceEventType is enabled.(Defined by LoggerExtensions.) |
|
WriteCritical(String) | Overloaded. Writes a critical log message.(Defined by LoggerExtensions.) |
|
WriteCritical(String, Exception) | Overloaded. Writes a critical log message.(Defined by LoggerExtensions.) |
|
WriteError(String) | Overloaded. Writes an error log message.(Defined by LoggerExtensions.) |
|
WriteError(String, Exception) | Overloaded. Writes an error log message.(Defined by LoggerExtensions.) |
|
WriteInformation(String) | Writes an informational log message.(Defined by LoggerExtensions.) |
|
WriteVerbose(String) | Writes a verbose log message.(Defined by LoggerExtensions.) |
|
WriteWarning(String, Exception) | Overloaded. Writes a warning log message.(Defined by LoggerExtensions.) |
|
WriteWarning(String, String[]) | Overloaded. Writes a warning log message.(Defined by LoggerExtensions.) |
See Also
Microsoft.Owin.Logging Namespace
Return to top