MicrosoftLoggingBackend.GetLogger Method |
Gets an ILogger given a category name.
Namespace: PostSharp.Patterns.Diagnostics.Backends.Microsoft
Assembly: PostSharp.Patterns.Diagnostics.Backends.Microsoft (in PostSharp.Patterns.Diagnostics.Backends.Microsoft.dll) Version: 6.5.21.0 (6.5.21.0)
C#
public ILogger GetLogger( string categoryName )
Parameters
- categoryName
- Type: System.String
The name of the category (as returned by GetLoggerName).
Return Value
Type: ILoggerAn ILogger whose category name is categoryName.