Open sandboxFocus

Method GetAbstractSource

GetAbstractSource(Type)

Gets the LoggingAbstractSource for a given Type in the current profile.

Declaration
public LoggingAbstractSource GetAbstractSource(Type type)
Parameters
Type Name Description
Type type

A Type.

Returns
Type Description
LoggingAbstractSource

The LoggingAbstractSource for the given type and the Role of the current LoggingProfile.

Remarks

When this method fails with an exception, the exception is reported to the ExceptionHandler, and a LoggingAbstractSource bound to the NullLoggingBackend is returned.