rest-hapi.js
function getLogger(label) {
  let config = defaultConfig

  extend(true, config, module.exports.config)

  let rootLogger = logging.getLogger(chalk.gray(label))

  rootLogger.logLevel = config.loglevel

  return rootLogger
}
function getLogger(label) {
  let config = defaultConfig

  extend(true, config, module.exports.config)

  let rootLogger = logging.getLogger(chalk.gray(label))

  rootLogger.logLevel = config.loglevel

  return rootLogger
}
function getLogger ( label ) { let config = defaultConfig extend ( true , config , module . exports . config ) let rootLogger = logging . getLogger ( chalk . gray ( label ) ) rootLogger . logLevel = config . loglevel return rootLogger }
Get a new Log object with a root label.
@param label: The root label for the Log.
@returns {*}
Get a new Log object with a root label .