log method

void log(
  1. LogMessage message
)
inherited

Generic function which sends message to LogWriter

This can either be used directly, but is more helpful to use level specific functions like info, warning etc

Implementation

@pragma('vm:prefer-inline')
void log(LogMessage message) {
  writer.write(message);
}