LogEntry constructor
LogEntry({})
Creates a new log entry.
context defaults to empty map if null.
Implementation
LogEntry({
required this.level,
required this.message,
this.metadata,
Map<String, dynamic>? context,
}) : timestamp = DateTime.now().toUtc(),
context = context ?? {};