AppBuilderLoggerExtensions Class

 

Logging extension methods for IAppBuilder.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Logging.AppBuilderLoggerExtensions

Syntax

public static class AppBuilderLoggerExtensions
[ExtensionAttribute]
public ref class AppBuilderLoggerExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type AppBuilderLoggerExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class AppBuilderLoggerExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateLogger(IAppBuilder, String)

Creates a new ILogger instance from the server.LoggerFactory in the Properties collection.

System_CAPS_pubmethodSystem_CAPS_static CreateLogger(IAppBuilder, Type)

Creates a new ILogger instance from the server.LoggerFactory in the Properties collection.

System_CAPS_pubmethodSystem_CAPS_static CreateLogger<TType>(IAppBuilder)

Creates a new ILogger instance from the server.LoggerFactory in the Properties collection.

System_CAPS_pubmethodSystem_CAPS_static GetLoggerFactory(IAppBuilder)

Retrieves the server.LoggerFactory from the Properties collection.

System_CAPS_pubmethodSystem_CAPS_static SetLoggerFactory(IAppBuilder, ILoggerFactory)

Sets the server.LoggerFactory in the Properties collection.

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