LoggingProfile.GetAbstractSource Method |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.7.12.0 (6.7.12.0)
public LoggingAbstractSource GetAbstractSource( Type type )
Parameters
- type
- Type: System.Type
A Type.
Return Value
Type: LoggingAbstractSourceThe LoggingAbstractSource for the given type and the Role of the current LoggingProfile.
When this method fails with an exception, the exception is reported to the ExceptionHandler, and a LoggingAbstractSource bound to the NullLoggingBackend is returned.