LoggerExtensions Class
ILogger extension methods for common scenarios.
Namespace: Microsoft.Owin.Logging
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Logging.LoggerExtensions
Syntax
public static class LoggerExtensions
[ExtensionAttribute]
public ref class LoggerExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type LoggerExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class LoggerExtensions
Methods
Name | Description | |
---|---|---|
IsEnabled(ILogger, TraceEventType) | Checks if the given TraceEventType is enabled. |
|
WriteCritical(ILogger, String) | Writes a critical log message. |
|
WriteCritical(ILogger, String, Exception) | Writes a critical log message. |
|
WriteError(ILogger, String) | Writes an error log message. |
|
WriteError(ILogger, String, Exception) | Writes an error log message. |
|
WriteInformation(ILogger, String) | Writes an informational log message. |
|
WriteVerbose(ILogger, String) | Writes a verbose log message. |
|
WriteWarning(ILogger, String, Exception) | Writes a warning log message. |
|
WriteWarning(ILogger, String, String[]) | Writes a warning log message. |
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.
See Also
Microsoft.Owin.Logging Namespace
Return to top