code: protected function makeDir($dirName, LoggerInterface $logger) {
          $dn = explode(getcwd(), $dirName)[1] ?? $dirName;
  
          if(@mkdir($dirName)) {
              $logger->logText("Created directory <fg=green>%s</>", LoggerInterface::VERBOSITY_NORMAL, NULL, $dn);
          } else {
              $logger->logWarning("Creating directory $dn failed");
          }
      }
docs: Makes the required directory. It does NOT exist!
  
  @param $dirName
  @param LoggerInterface $logger