PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logger Class/Logger Methods/Logger.​To­Log­Source Method

Logger.ToLogSource Method

Creates a LogSource from the current legacy Logger.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public LogSource ToLogSource()

Return Value

Type: LogSource
See Also