PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace/ILogger­Factory Interface

ILoggerFactory Interface

Creates instances of the ILogger interface. An instance of this interface must be registered into the ServiceLocator.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public interface ILoggerFactory

The ILoggerFactory type exposes the following members.

Methods
  NameDescription
Public methodGetLogger
Gets an instance of the ILogger interface for a given role and Type.
See Also