Table of Contents

Constructor TraceLogInterpolatedStringHandler

Namespace
WhalesSecret.TradeScriptLib.Logging
Assembly
WhalesSecret.TradeScriptLib.dll

TraceLogInterpolatedStringHandler(int, int, WsLogger, out bool)

Creates a new instance of the object.

public TraceLogInterpolatedStringHandler(int literalLength, int formattedCount, WsLogger logger, out bool isEnabled)

Parameters

literalLength int

Length of the interpolated string before expressions are expanded (if any).

The parameter is required to be present in all interpolated string handlers.

formattedCount int

Number of interpolation expressions.

The parameter is required to be present in all interpolated string handlers.

logger WsLogger

Whale's Secret logger for which the handler processes interpolated strings.

isEnabled bool

This is filled with a boolean value denoting whether the handler is supposed to process interpolated expressions or not.