PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Role­Configuration Class/Logging­Role­Configuration Methods

LoggingRoleConfiguration Methods

The LoggingRoleConfiguration type exposes the following members.

Public methodGetAbstractSource
Gets the LoggingAbstractSource for a given Type in the current role.
Extension Methods
Public Extension MethodGetLogSource()Overloaded.
Gets a Logger for a given role and for the calling type.
(Defined by LoggerFactoryExtensions.)
Public Extension MethodGetLogSource(Type)Overloaded.
Gets a Logger for a given role and Type.
(Defined by LoggerFactoryExtensions.)
See Also