logData method

  1. @override
void logData(
  1. ISpectLogData log
)
override

Logs a custom ISpectLogData instance directly.

This allows for creating fully customized log entries.

  • log: The custom log data to process.

Implementation

@override
void logData(ISpectLogData log) {
  _queue.add(log);
  while (_queue.length > maxTraces) {
    _queue.removeFirst();
  }
  super.logData(log);
}