type

ConnTraceMsg

const class ConnTraceMsg : Obj

ConnTraceMsg models one timestamped trace message

fields

arg

Extra data about this trace mesage

msg

Description of the trace message

ts

Timestamp of trace message

type

Message type

methods

argToStr

Argument to debug string

toGrid

Convert list of trace messages to a grid

toStr

String representation (subject to change)

Slot Details

arg

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

argToStr

Str? argToStr()

Argument to debug string

msg

const Str msg

Description of the trace message

toGrid

static Grid toGrid(ConnTraceMsg[] list, Obj? meta := null)

Convert list of trace messages to a grid

toStr

virtual override Str toStr()

String representation (subject to change)

ts

const DateTime ts

Timestamp of trace message

type

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