`while (logger && rootLogger !== logger)`