toLogRecord method

LogRecord toLogRecord()

Implementation

logging.LogRecord toLogRecord() {
  return logging.LogRecord(toLoggingLevel(level), message, loggerName ?? '',
      error, stackTrace == null ? null : StackTrace.fromString(stackTrace!));
}