code: function getStatusColor (data, basic = false) {
    const code = data.res && data.res.statusCode
    const range = parseInt(code / 100)
  
    return basic ? range : statusColors[range] || utils.noop
  }
docs: @function
  @public
  
  Get `chalk` builder function related to the status
  code of the response. If there is no response object,
  get a no-op function. If enable the `basic` mode,
  just get the index.
  
  @param {Object} data The data aggregated by `pino`
  @param {boolean} [basic=false] Request the basic index
  @returns {number | Function} The index or the related builder function