addCachedKey static method
Add a keyword to the cache to mark it as logged
@paramkey: The keyword to add to the cache
After adding, subsequent logs containing this keyword will be suppressed when using printOnceIfContains
Implementation
static void addCachedKey(String key) {
_cachedKeys.add(key);
}