handleMessage method

void handleMessage(
  1. int level,
  2. String message
)

Implementation

void handleMessage(int level, String message) {
  sendEventToFrontend(LogEntryEvent(
    text: message,
    level: getLevelStr(level),
  ));
}