code: func (config *Config) LogLevel() int {
  	if config.ENV.CFLogLevel != "" {
  		envVal, err := strconv.ParseInt(config.ENV.CFLogLevel, 10, 32)
  		if err == nil {
  			return int(envVal)
  		}
  
  		switch strings.ToLower(config.ENV.CFLogLevel) {
  		case "fatal":
  			return 1
  		case "error":
  			return 2
  		case "warn":
  			return 3
  		case "info":
  			return 4
  		case "debug":
  			return 5
  		}
  	}
  
  	return 0
  }
docs: // LogLevel returns the global log level. The levels follow Logrus's log level
  // scheme. This value is based off of:
  //   - The $CF_LOG_LEVEL and an int/warn/info/etc...
  //   - Defaults to PANIC/0 (ie no logging)