LoggerExtensions Class
Represents the logger extensions.
Inheritance Hierarchy
System.Object
Microsoft.Owin.Logging.LoggerExtensions
Namespace: Microsoft.Owin.Logging
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class LoggerExtensions
'Usage
public static class LoggerExtensions
[ExtensionAttribute]
public ref class LoggerExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type LoggerExtensions = class end
public final class LoggerExtensions
The LoggerExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
IsEnabled | Determines whether the logger is enabled. | |
WriteCritical(ILogger, String) | Writes a critical message for the specified logger. | |
WriteCritical(ILogger, String, Exception) | Writes a critical message for the specified logger. | |
WriteError(ILogger, String) | Writes an error message for the specified logger. | |
WriteError(ILogger, String, Exception) | Writes an error message for the specified logger. | |
WriteInformation | Writes information message for the specified logger. | |
WriteVerbose | Writes a verbose message for the specified logger. | |
WriteWarning(ILogger, String, Exception) | Writes a warning message for the specified logger. | |
WriteWarning(ILogger, String, array<String[]) | Writes a warning message for the specified logger. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.