code: func loggerFromLoggingConfig(loggingConfig *logconfig.LoggingConfig) (log.Logger, channels.Channel, error) {
  	outputLogger, _, err := loggingConfig.RootSink.BuildLogger()
  	if err != nil {
  		return nil, nil, err
  	}
  	var errCh channels.Channel = channels.NewDeadChannel()
  	var logger log.Logger = loggers.BurrowFormatLogger(outputLogger)
  	if loggingConfig.NonBlocking {
  		logger, errCh = loggers.NonBlockingLogger(logger)
  		return logger, errCh, nil
  	}
  	return logger, errCh, err
  }
docs: // Helpers