static bool isTagEnabled(TraceTag tag) { final tags = _resolveEnabledTags(); return tags == null || tags.contains(tag); }