Open sandboxFocus

Method WithLevel

WithLevel(FlashtraceLevel)

Exposes methods that allow to write messages and open activities with a specified FlashtraceLevel.

Declaration
public FlashtraceLevelSource WithLevel(FlashtraceLevel level)
Parameters
Type Name Description
FlashtraceLevel level

The desired FlashtraceLevel.

Returns
Type Description
FlashtraceLevelSource

A fluent API object that allows to write messages with the specified level.

Remarks

This method is properly optimized. Subsequent calls with the same parameter value will return the same instance.