@override Future<void> init() { return Future.sync(() { if (_logger.isClosed() == false) { _logger.close(); } _logger = _createLogger(); }); }