PostSharp6.7//API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Log­Source Class/Log­Source Properties/Log­Source.​Default Property

LogSource.Default Property

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.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public LogLevelSource Default { get; }

Property Value

Type: LogLevelSource
Remarks

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

See Also