ILogger Interface
Provides interface of the logger.
Namespace: Microsoft.Owin.Logging
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Public Interface ILogger
'Usage
Dim instance As ILogger
public interface ILogger
public interface class ILogger
type ILogger = interface end
public interface ILogger
The ILogger type exposes the following members.
Methods
Name | Description | |
---|---|---|
WriteCore | 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. |
Top
Extension Methods
Name | Description | |
---|---|---|
IsEnabled | Determines whether the logger is enabled. (Defined by LoggerExtensions.) | |
WriteCritical(String) | Overloaded. Writes a critical message for the specified logger. (Defined by LoggerExtensions.) | |
WriteCritical(String, Exception) | Overloaded. Writes a critical message for the specified logger. (Defined by LoggerExtensions.) | |
WriteError(String) | Overloaded. Writes an error message for the specified logger. (Defined by LoggerExtensions.) | |
WriteError(String, Exception) | Overloaded. Writes an error message for the specified logger. (Defined by LoggerExtensions.) | |
WriteInformation | Writes information message for the specified logger. (Defined by LoggerExtensions.) | |
WriteVerbose | Writes a verbose message for the specified logger. (Defined by LoggerExtensions.) | |
WriteWarning(String, array<String[]) | Overloaded. Writes a warning message for the specified logger. (Defined by LoggerExtensions.) | |
WriteWarning(String, Exception) | Overloaded. Writes a warning message for the specified logger. (Defined by LoggerExtensions.) |
Top