PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / ILogger2 Interface / ILogger2 Properties / ILogger2.​Factory Property

ILogger2.Factory Property

Note: This API is now obsolete.

Gets the ILoggerFactory, which allows to create new instances of the logger. This is used for instance by ForType(Type).

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: (
[ObsoleteAttribute("Use ILogger3.Factory")]
ILoggerFactory2 Factory { get; }

Property Value

Type: ILoggerFactory2
See Also