PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Role­Configuration Class / Logging­Role­Configuration Methods

LoggingRoleConfiguration Methods

The LoggingRoleConfiguration type exposes the following members.

Methods
  NameDescription
Public methodGetAbstractSource
Gets the LoggingAbstractSource for a given Type in the current role.
Extension Methods
  NameDescription
Public Extension MethodGetLogSource()Overloaded.
Gets a Logger for a given role and for the calling type.
(Defined by LoggerFactoryExtensions.)
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 LogSource for a given role and Type.
(Defined by LoggerFactoryExtensions.)
Public Extension MethodGetLogSource(String)Overloaded.
Gets a LogSource for a given role and sourceName.
(Defined by LoggerFactoryExtensions.)
Public Extension MethodGetLogSource(Type)Overloaded.
Gets a LogSource for a given role and Type.
(Defined by LoggerFactoryExtensions.)
See Also