code: func (lr *logRegistry) getLoggerFromMapping(logger string) *Logger {
  	loggerVal, found := lr.loggers.Load(logger)
  	if !found {
  		return nil
  	}
  	log, ok := loggerVal.(*Logger)
  	if ok {
  		return log
  	}
  	panic("cannot cast log value to Logger obj")
  
  }
docs: // getLoggerFromMapping returns a logger by its name