LogEvent constructor

LogEvent(
  1. Level level,
  2. dynamic message, [
  3. dynamic error,
  4. StackTrace? stackTrace,
])

Implementation

LogEvent(this.level, this.message, [this.error, this.stackTrace])
    : time = DateTime.now();