PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Log­Source Class / Log­Source Methods / Log­Source.​Get Method

LogSource.Get Method

Gets a LogSource for the calling type.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.16.0 (6.5.16.0)
Syntax
C#
public static LogSource Get()

Return Value

Type: LogSource
A LogSource for the calling type.
See Also