PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLog­SourceFor­Current­Type
Open sandboxFocus

LogSource.ForCurrentType Method

ForCurrentType()

Gets a new LogSource keeping all the configuration of the current instance, but for the calling type.

Declaration
public LogSource ForCurrentType()
Returns
Type Description
LogSource

A LogSource for the calling type.

ForCurrentType(ref CallerInfo)

Declaration
public LogSource ForCurrentType(ref CallerInfo callerInfo)
Parameters
Type Name Description
CallerInfo callerInfo
Returns
Type Description
LogSource