LogDebug (open)

Log debugging data

Syntax

LOADLIB "wh::internal/debug.whlib";

MACRO LogDebug(STRING logsource, VARIANT message, VARIANT ARRAY args)

Parameters

STRING logsource

Source or call of the debug message. This is used for searching, determining the origin or grouping of log messages of this type. Guideline: prefix the source with your module, for example "modulename:mytask.results"

VARIANT message

Message

VARIANT ARRAY args

Optional extra debugging arguments. These will be stored HSON encoded. Arguments which push the length of the debug line over 127 KB won't be logged and will be stored as '-'