PostSharp6.7//API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Log­Source Class/Log­Source Methods/Log­Source.​Get Method/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.7.12.0 (6.7.12.0)
Syntax
C#
public static LogSource Get()

Return Value

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