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
Public methodStatic member IsEnabled Determines whether the logger is enabled.
Public methodStatic member WriteCritical(ILogger, String) Writes a critical message for the specified logger.
Public methodStatic member WriteCritical(ILogger, String, Exception) Writes a critical message for the specified logger.
Public methodStatic member WriteError(ILogger, String) Writes an error message for the specified logger.
Public methodStatic member WriteError(ILogger, String, Exception) Writes an error message for the specified logger.
Public methodStatic member WriteInformation Writes information message for the specified logger.
Public methodStatic member WriteVerbose Writes a verbose message for the specified logger.
Public methodStatic member WriteWarning(ILogger, String, Exception) Writes a warning message for the specified logger.
Public methodStatic member 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.

See Also

Reference

Microsoft.Owin.Logging Namespace