LogSource.WithLevel Method |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.11.0 (6.9.11.0)
public LogLevelSource WithLevel( LogLevel level )
Parameters
- level
- Type: PostSharp.Patterns.Diagnostics.LogLevel
The desired LogLevel.
Return Value
Type: LogLevelSourceA fluent API object that allows to write messages with the specified level.
This method is properly optimized. Subsequent calls with the same parameter value will return the same instance.