pushLogLevel static method
Remembers the current logLevel, then setting it to value
if not null. See popLogLevel.
Implementation
static void pushLogLevel([int? value]) {
final sq = _getOrInitialize();
sq._logLevels.add(Squadron.logLevel);
if (value != null) {
Squadron.logLevel = value;
}
}