ConnTraceMsg
const class ConnTraceMsg : Obj
ConnTraceMsg models one timestamped trace message
Description of the trace message
Extra data about this trace mesage
Message type
Timestamp of trace message
String representation (subject to change)
Convert list of trace messages to a grid
Argument to debug string
const Obj? : arg
Extra data about this trace mesage:
- "dispatch": the HxMsg instance
- "req": message as Str or Buf
- "res": message as Str or Buf
- "event": message as Str or Buf
- "log": LogRec instance
Str? argToStr()
Argument to debug string
const Str : msg
Description of the trace message
static Grid toGrid(ConnTraceMsg[] list, Obj? meta)
Convert list of trace messages to a grid
virtual Str toStr()
String representation (subject to change)
const DateTime : ts
Timestamp of trace message
const Str : type
Message type:
- "dispatch": message send to the ConnDispatch
- "req": protocol specific request message
- "res": protocol specific response message
- "event": protocol specific unsolicited event message
- "poll": polling callback
- "hk": house keeping callback
- "log": when using the trace as a system log