init method

  1. @override
Future<void> init()
override

Implementation

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

    _logger = _createLogger();
  });
}