Table of Contents

Field DefaultLayoutWithId

Namespace
WhalesSecret.TradeScriptLib.API
Assembly
WhalesSecret.TradeScriptLib.dll

Default value for layout parameter in GetLogger(LogLevel, string?, string?) when the logger is created with ID.

public static readonly string DefaultLayoutWithId

Returns

string
Default value for layout parameter in when the logger is created with ID.

Remarks

This default layout produces a log line that looks as follows:

[2021-02-21 20:03:04.7695 18|1234-5678] INFO: WhalesSecret.TradeScriptLibUnitTests.API.LogApiV1Test.Log [LoggerId] This is the logged message.