LogRecord constructor

LogRecord(
  1. Level level,
  2. String message,
  3. String loggerName, [
  4. Object? error,
  5. StackTrace? stackTrace,
  6. Zone? zone,
  7. Object? object,
])

Implementation

LogRecord(this.level, this.message, this.loggerName,
    [this.error, this.stackTrace, this.zone, this.object])
    : time = DateTime.now(),
      sequenceNumber = LogRecord._nextNumber++;