Constructor DebugLogInterpolatedStringHandler
- Namespace
- WhalesSecret.TradeScriptLib.Logging
- Assembly
- WhalesSecret.TradeScriptLib.dll
DebugLogInterpolatedStringHandler(int, int, WsLogger, out bool)
Creates a new instance of the object.
public DebugLogInterpolatedStringHandler(int literalLength, int formattedCount, WsLogger logger, out bool isEnabled)
Parameters
literalLength
intLength of the interpolated string before expressions are expanded (if any).
The parameter is required to be present in all interpolated string handlers.
formattedCount
intNumber of interpolation expressions.
The parameter is required to be present in all interpolated string handlers.
logger
WsLoggerWhale's Secret logger for which the handler processes interpolated strings.
isEnabled
boolThis is filled with a boolean value denoting whether the handler is supposed to process interpolated expressions or not.