close method
Закрывает цепочку логгеров
Implementation
@nonVirtual
Future<void> close([int? depth]) async {
await closeThis();
final subLogger = this.subLogger;
if (subLogger != null) {
if (depth == null) {
return subLogger.close();
}
if (depth > 1) {
return subLogger.close(depth - 1);
}
}
}