PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom/ILogger­Factory
Open sandboxFocus

Interface ILoggerFactory

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.dll
Syntax
public interface ILoggerFactory

Methods

Name Description
GetLogger(String, Type)

Gets an instance of the ILogger interface for a given role and Type.