LoggerFactoryExtensions.GetLogSource Method (ILoggerFactory3, Type) |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
public static LogSource GetLogSource( this ILoggerFactory3 factory, Type type )
Parameters
- factory
- Type: PostSharp.Patterns.Diagnostics.Custom.ILoggerFactory3
An ILoggerFactory. - type
- Type: System.Type
The type that will emit the records.
Return Value
Type: LogSourceA LogSource for type.