PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Source­Local­State
Open sandboxFocus

LoggingSourceLocalState Class

Stores the state of a LoggingAbstractSource for the current execution context.

Inheritance
LoggingSourceLocalState
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class LoggingSourceLocalState : ValueType

Properties

Name Description
Backend

Gets the resolved LoggingBackend.

Source

Gets the resolved LoggingTypeSource.

Methods

Name Description
IsEnabled(LogLevel)

Determines whether logging is enabled for a specified LogLevel.