LoggerFactoryExtensions.GetLogSource Method (ILoggerFactory3, String) |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.10.0 (6.10.10.0)
public static LogSource GetLogSource( this ILoggerFactory3 factory, string sourceName )
Parameters
- factory
- Type: PostSharp.Patterns.Diagnostics.Custom.ILoggerFactory3
An ILoggerFactory3. - sourceName
- Type: System.String
Log source name to be used by the backend. Not all backends support creating sources by name.
Return Value
Type: LogSourceA LogSource for sourceName.