Examples of LocalizedMessage


Examples of org.apache.logging.log4j.message.LocalizedMessage

        }
    }

    public void l7dlog(Priority priority, String key, Object[] params, Throwable t) {
        if (isEnabledFor(priority)) {
            Message msg = new LocalizedMessage(bundle, key, params);
            forcedLog(FQCN, priority, msg, t);
        }
    }
View Full Code Here

Examples of org.apache.logging.log4j.message.LocalizedMessage

        }
    }

    public void l7dlog(final Priority priority, final String key, final Throwable t) {
        if (isEnabledFor(priority)) {
            final Message msg = new LocalizedMessage(bundle, key, null);
            forcedLog(FQCN, priority, msg, t);
        }
    }
View Full Code Here

Examples of org.apache.logging.log4j.message.LocalizedMessage

        }
    }

    public void l7dlog(final Priority priority, final String key, final Object[] params, final Throwable t) {
        if (isEnabledFor(priority)) {
            final Message msg = new LocalizedMessage(bundle, key, params);
            forcedLog(FQCN, priority, msg, t);
        }
    }
View Full Code Here

Examples of org.apache.logging.log4j.message.LocalizedMessage

    @Override
    public void vlogTrace(final Throwable throwable,
                          final ResourceBundle resourceBundle,
                          final String key,
                          final Object... args) {
        logger.trace(new LocalizedMessage(resourceBundle, key, args), throwable);
    }
View Full Code Here

Examples of org.apache.logging.log4j.message.LocalizedMessage

        logger.trace(new LocalizedMessage(resourceBundle, key, args), throwable);
    }

    @Override
    public void vlogTrace(final ResourceBundle resourceBundle, final String key, final Object... args) {
        logger.trace(new LocalizedMessage(resourceBundle, key, args));
    }
View Full Code Here

Examples of org.apache.logging.log4j.message.LocalizedMessage

    @Override
    public void vlogDebug(final Throwable throwable,
                          final ResourceBundle resourceBundle,
                          final String key,
                          final Object... args) {
        logger.debug(new LocalizedMessage(resourceBundle, key, args), throwable);
    }
View Full Code Here

Examples of org.apache.logging.log4j.message.LocalizedMessage

        logger.debug(new LocalizedMessage(resourceBundle, key, args), throwable);
    }

    @Override
    public void vlogDebug(final ResourceBundle resourceBundle, final String key, final Object... args) {
        logger.debug(new LocalizedMessage(resourceBundle, key, args));
    }
View Full Code Here

Examples of org.apache.logging.log4j.message.LocalizedMessage

    @Override
    public void vlogInfo(final Throwable throwable,
                         final ResourceBundle resourceBundle,
                         final String key,
                         final Object... args) {
        logger.info(new LocalizedMessage(resourceBundle, key, args), throwable);
    }
View Full Code Here

Examples of org.apache.logging.log4j.message.LocalizedMessage

        logger.info(new LocalizedMessage(resourceBundle, key, args), throwable);
    }

    @Override
    public void vlogInfo(final ResourceBundle resourceBundle, final String key, final Object... args) {
        logger.info(new LocalizedMessage(resourceBundle, key, args));
    }
View Full Code Here

Examples of org.eclipse.wst.validation.internal.operations.LocalizedMessage

    if ( XMLCorePlugin.getDefault().getPluginPreferences().getBoolean(XMLCorePreferenceNames.MARKUP_VALIDATION)){
      IReporter reporter = executeMarkupValidator(uri);
      if (reporter != null){
        List msgList = reporter.getMessages();
        for (int i = 0;i < msgList.size();i++){
          LocalizedMessage msg = (LocalizedMessage)msgList.get(i);
          if (msg.getSeverity() == 2)
            valinfo.addError(msg.getLocalizedMessage(), msg.getLineNumber(), msg.getOffset(),valinfo.getFileURI(),"null",getMsgArguments(msg) ); //$NON-NLS-1$
          else if (msg.getSeverity() == 1)
            valinfo.addWarning(msg.getLocalizedMessage(), msg.getLineNumber(), msg.getOffset(),valinfo.getFileURI(),"null", getMsgArguments(msg)); //$NON-NLS-1$
        }
      }
    }
   
    return valinfo;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.