LoggerFactoryExtensions.GetLogSource Method (ILoggerFactory2) |
Note: This API is now obsolete.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
[ObsoleteAttribute("Provide an ILoggerFactory3.")] public static LogSource GetLogSource( this ILoggerFactory2 factory )
Parameters
- factory
- Type: PostSharp.Patterns.Diagnostics.Custom.ILoggerFactory2
An ILoggerFactory.
Return Value
Type: LogSourceA Logger for the calling type.