LogRecord constructor
LogRecord({
- required int level,
- required dynamic message,
- required String scope,
- StackTrace? stackTrace,
Implementation
LogRecord({
required this.level,
required this.message,
required this.scope,
this.stackTrace,
}) : time = DateTime.now(),
zone = Zone.current,
id = _counter++;