ILoggerFactory3.GetLogger Method (String) |
Gets an instance of the ILogger2 interface for a specific sourceName. The name will
usually, but not always, be a type name.
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
ILogger3 GetLogger( string sourceName )
Parameters
- sourceName
- Type: System.String
Name identifying the returned logger. The backend creates a logger based on this name.