Share via


DiagnosticsLoggerFactory Class

 

Provides an ILoggerFactory based on System.Diagnostics.TraceSource.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Logging.DiagnosticsLoggerFactory

Syntax

public class DiagnosticsLoggerFactory : ILoggerFactory
public ref class DiagnosticsLoggerFactory : ILoggerFactory
type DiagnosticsLoggerFactory = 
    class
        interface ILoggerFactory
    end
Public Class DiagnosticsLoggerFactory
    Implements ILoggerFactory

Constructors

Name Description
System_CAPS_pubmethod DiagnosticsLoggerFactory()

Initializes a new instance of the DiagnosticsLoggerFactory class that creates a factory named "Microsoft.Owin".

System_CAPS_pubmethod DiagnosticsLoggerFactory(SourceSwitch, TraceListener)

Initializes a new instance of the DiagnosticsLoggerFactory class.

Methods

Name Description
System_CAPS_pubmethod Create(String)

Creates a new DiagnosticsLogger for the given component name.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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