Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LoggerExtensions Class

 

ILogger extension methods for common scenarios.

Namespace:   Microsoft.Owin.Logging
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

System.Object
  Microsoft.Owin.Logging.LoggerExtensions

<ExtensionAttribute>
Public NotInheritable Class LoggerExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticIsEnabled(ILogger, TraceEventType)

Checks if the given TraceEventType is enabled.

System_CAPS_pubmethodSystem_CAPS_staticWriteCritical(ILogger, String)

Writes a critical log message.

System_CAPS_pubmethodSystem_CAPS_staticWriteCritical(ILogger, String, Exception)

Writes a critical log message.

System_CAPS_pubmethodSystem_CAPS_staticWriteError(ILogger, String)

Writes an error log message.

System_CAPS_pubmethodSystem_CAPS_staticWriteError(ILogger, String, Exception)

Writes an error log message.

System_CAPS_pubmethodSystem_CAPS_staticWriteInformation(ILogger, String)

Writes an informational log message.

System_CAPS_pubmethodSystem_CAPS_staticWriteVerbose(ILogger, String)

Writes a verbose log message.

System_CAPS_pubmethodSystem_CAPS_staticWriteWarning(ILogger, String, Exception)

Writes a warning log message.

System_CAPS_pubmethodSystem_CAPS_staticWriteWarning(ILogger, String, String())

Writes a warning log message.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: