LogCollectorConsole constructor

LogCollectorConsole({
  1. bool colored = true,
  2. IOSink? sink,
})

sink defaults to stdout. Use stderr when running alongside MCP.

Implementation

LogCollectorConsole({this.colored = true, IOSink? sink})
  : _maxLabelWidth = 20,
    _sink = sink ?? stdout;