AppBuilderLoggerExtensions Class

Logging extension methods for IAppBuilder.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Logging.AppBuilderLoggerExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class AppBuilderLoggerExtensions
'Usage
public static class AppBuilderLoggerExtensions
[ExtensionAttribute]
public ref class AppBuilderLoggerExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type AppBuilderLoggerExtensions =  class end
public final class AppBuilderLoggerExtensions

The AppBuilderLoggerExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member CreateLogger(IAppBuilder, String) Creates a new ILogger instance from the server.LoggerFactory in the Properties collection.
Public methodStatic member CreateLogger(IAppBuilder, Type) Creates a new ILogger instance from the server.LoggerFactory in the Properties collection.
Public methodStatic member CreateLogger<TType>(IAppBuilder) Creates a new ILogger instance from the server.LoggerFactory in the Properties collection.
Public methodStatic member GetLoggerFactory Retrieves the server.LoggerFactory from the Properties collection.
Public methodStatic member SetLoggerFactory Sets the server.LoggerFactory in the Properties collection.

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