code: public function getConfigNode()
      {
          $treeBuilder = new TreeBuilder();
          $rootNode = $treeBuilder->root('logger');
          $rootNode
              ->addDefaultsIfNotSet()
              ->children()
                  ->scalarNode('path')
                      ->info('Name of the log file')
                      ->defaultValue('behat.log')
                  ->end()
                  ->scalarNode('level')
                      ->info('Log level')
                      ->beforeNormalization()
                          ->always()
                          ->then(function ($value) {
                              return Logger::toMonologLevel($value);
                          })
                      ->end()
                      ->defaultValue(Logger::INFO)
                  ->end()
              ->end();
  
          return $rootNode;
      }
docs: {@inheritdoc}