code: function _createLogDirectory (logPath) {
    var isExist = fs.existsSync(logPath)
  
    if (isExist !== true) {
      log('log_path is not exist, create folder:' + logPath)
      fs.mkdirSync(logPath)
    } else {
      log('log_path is exist, no operation!')
    }
  }
docs: 创建log目录