code: func New(info logger.Info) (logger.Logger, error) {
  	if !journal.Enabled() {
  		return nil, fmt.Errorf("journald is not enabled on this host")
  	}
  
  	// parse log tag
  	tag, err := loggerutils.ParseLogTag(info, loggerutils.DefaultTemplate)
  	if err != nil {
  		return nil, err
  	}
  
  	vars := map[string]string{
  		"CONTAINER_ID":      info.ContainerID[:12],
  		"CONTAINER_ID_FULL": info.ContainerID,
  		"CONTAINER_NAME":    info.Name(),
  		"CONTAINER_TAG":     tag,
  		"IMAGE_NAME":        info.ImageName(),
  		"SYSLOG_IDENTIFIER": tag,
  	}
  	extraAttrs, err := info.ExtraAttributes(sanitizeKeyMod)
  	if err != nil {
  		return nil, err
  	}
  	for k, v := range extraAttrs {
  		vars[k] = v
  	}
  	return &journald{vars: vars, readers: make(map[*logger.LogWatcher]struct{})}, nil
  }
docs: // New creates a journald logger using the configuration passed in on
  // the context.