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 | |
---|---|---|
DiagnosticsLoggerFactory() | Initializes a new instance of the DiagnosticsLoggerFactory class that creates a factory named "Microsoft.Owin". |
|
DiagnosticsLoggerFactory(SourceSwitch, TraceListener) | Initializes a new instance of the DiagnosticsLoggerFactory class. |
Methods
Name | Description | |
---|---|---|
Create(String) | Creates a new DiagnosticsLogger for the given component name. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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