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

ILogger2.Factory Property

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: 6.5.19.0 (6.5.19.0)
Syntax
C#
ILoggerFactory2 Factory { get; }

Property Value

Type: ILoggerFactory2
See Also