PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logger Class / Logger Properties / Logger.​Context Property

Logger.Context Property

Gets the ILoggingContext of the current Logger, or null if no context is associated with the current Logger.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public ILoggingContext Context { get; }

Property Value

Type: ILoggingContext
See Also