WithLevel(LogLevel)
Exposes methods that allow to write messages and open activities with a specified LogLevel.
Declaration
public LogLevelSource WithLevel(LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | The desired LogLevel. |
Returns
Type | Description |
---|---|
LogLevelSource | A fluent API object that allows to write messages with the specified |
Remarks
This method is properly optimized. Subsequent calls with the same parameter value will return the same instance.