code: function getLevelColor ({ level }, basic = false) {
    const range = parseInt((level / 10) - 1)
  
    return basic ? range : levelColors[range] || utils.noop
  }
docs: @function
  @public
  
  Get `chalk` builder function related to the logging
  level. If there is a logging level out of range,
  get a no-op function. If enable the `basic` mode,
  just get the index.
  
  @param {Object} level The level extracted of the aggregated data
  @param {boolean} [basic=false] Request the basic index
  @returns {number | Function} The index or the related builder function