Get logs filtered by level.
static List<LogEntry> getLogsByLevel(LogLevel level) { return _logs.where((l) => l.level == level).toList(); }