PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Abstract­Source Class / Logging­Abstract­Source Methods

LoggingAbstractSource Methods

The LoggingAbstractSource type exposes the following members.

Public methodGetLocalState
Gets the LoggingSourceLocalState resolved for the current execution context. This method is used by generated code.
Public methodIsEnabled
Determines whether logging is enabled for a given LogLevel for the current Role and Type.
See Also