code: function setupFromConfig (config, appenders) {
    let useColors = true
    let logLevel = constant.LOG_INFO
  
    if (helper.isDefined(config.colors)) {
      useColors = config.colors
    }
  
    if (helper.isDefined(config.logLevel)) {
      logLevel = config.logLevel
    }
    setup(logLevel, useColors, appenders)
  }
docs: Setup the logger by passing in the config object. The function sets the `colors` and `logLevel` if they are defined. It takes two arguments:  setupFromConfig(config, appenders)  * `config`: *Object* The configuration object. * `appenders`: *Object*  This will be passed as appenders to log4js to allow for fine grained configuration of log4js. For more information see https://github.com/nomiddlename/log4js-node. *Array* is also accepted for backwards compatibility.