PostSharp5.0//API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Profile Class/Logging­Profile Methods/Logging­Profile.​Get­Source Method

LoggingProfile.GetSource Method

Gets the LoggingTypeSource for a given Type.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public LoggingTypeSource GetSource(
	Type type
)

Parameters

type
Type: System.Type
A Type.

Return Value

Type: LoggingTypeSource
The LoggingTypeSource for type.
See Also