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.

ILogger Interface

 

A generic interface for logging.

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

type ILogger = interface end

NameDescription
System_CAPS_pubmethodWriteCore(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.

NameDescription
System_CAPS_pubmethodIsEnabled(TraceEventType)

Checks if the given TraceEventType is enabled.(Defined by LoggerExtensions.)

System_CAPS_pubmethodWriteCritical(String)

Overloaded. Writes a critical log message.(Defined by LoggerExtensions.)

System_CAPS_pubmethodWriteCritical(String, Exception)

Overloaded. Writes a critical log message.(Defined by LoggerExtensions.)

System_CAPS_pubmethodWriteError(String)

Overloaded. Writes an error log message.(Defined by LoggerExtensions.)

System_CAPS_pubmethodWriteError(String, Exception)

Overloaded. Writes an error log message.(Defined by LoggerExtensions.)

System_CAPS_pubmethodWriteInformation(String)

Writes an informational log message.(Defined by LoggerExtensions.)

System_CAPS_pubmethodWriteVerbose(String)

Writes a verbose log message.(Defined by LoggerExtensions.)

System_CAPS_pubmethodWriteWarning(String, Exception)

Overloaded. Writes a warning log message.(Defined by LoggerExtensions.)

System_CAPS_pubmethodWriteWarning(String, String[])

Overloaded. Writes a warning log message.(Defined by LoggerExtensions.)

Return to top
Show: