bool matches(AppLogEntry e) => (stream == null || e.stream == stream) && pattern.hasMatch(e.content);