ILoggerFactory2.GetLogger Method |
Note: This API is now obsolete.
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
[ObsoleteAttribute("Use ILoggerFactory3.GetLogger")] ILogger2 GetLogger( Type type )
Parameters
- type
- Type: System.Type
The type of the source code that will emit the records.
Return Value
Type: ILogger2An instance of the ILogger2 interface for type.