protocolLog method

  1. @protected
void protocolLog(
  1. String message
)
inherited

Writes message to the protocol log, if the caller asked for one.

The prefix separates this from the traffic: <<< is a message read off the channel, >>> one written to it, and !!! something this package decided about a message rather than the message itself.

Implementation

@protected
void protocolLog(String message) =>
    _protocolLogSink?.add('!!! ($name) $message\n');