PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / ILogger2 Interface / ILogger2 Methods / ILogger2.​Get­Context­Local­Logger Method

ILogger2.GetContextLocalLogger Method

Gets the logger for the current context.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
IContextLocalLogger GetContextLocalLogger()

Return Value

Type: IContextLocalLogger
See Also