code: public MyfacesLogMessage getMyfacesMessage(MyfacesLogKey key)
      {
          MyfacesLogMessage facesMessage = new MyfacesLogMessage();
          try
          {
  
              String name = key.name();
              String summary = _log.getResourceBundle().getString(name);
              facesMessage.setSummary(summary);
              try
              {
                  String detail = _log.getResourceBundle().getString(name +"_detail");
                  facesMessage.setDetail(detail);
              }
              catch (MissingResourceException e)
              {
                  facesMessage.setDetail(name);
              }
  
              try
              {
                  String related = _log.getResourceBundle().getString(name +"_related");
                  facesMessage.setRelated(related);
              }
              catch (MissingResourceException e)
              {
                  /// ignore
              }
              return facesMessage;
          }
          catch (MissingResourceException mre)
          {
              facesMessage.setSummary(key.name());
              return facesMessage;
          }
      }
docs: Returns message string in default locale