PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLog­SourceDefault
Open sandboxFocus

LogSource.Default Property

Default

Exposes methods that allow to write messages and open activities with the default severity of the current LogSource. The default severity is Debug, unless it has been overwritten by the WithLevels(LogLevel, LogLevel) method.

Declaration
public LogLevelSource Default { get; }
Property Value
Type Description
LogLevelSource
Remarks

This property is properly optimized. Subsequent calls will return the same instance.