PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / ILogger­Factory­Provider Interface

ILoggerFactoryProvider Interface

Note: This API is now obsolete.

Creates instances of ILoggerFactory2. 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.9.11.0 (6.9.11.0)
Syntax
C#
[ObsoleteAttribute("Use ILoggerFactoryProvider3")]
public interface ILoggerFactoryProvider

The ILoggerFactoryProvider type exposes the following members.

Methods
  NameDescription
Public methodGetLoggerFactory
Gets an instance of the ILoggerFactory2 interface.
See Also