Examples of FormattingTuple


Examples of org.slf4j.helpers.FormattingTuple

   * @param arg2
   *          the second argument
   */
  public void warn(String format, Object arg1, Object arg2) {
    if (log.isWarnEnabled()) {
      FormattingTuple ft = MessageFormatter.format(format, arg1, arg2);
      log.warn(ft.getMessage(), ft.getThrowable());
    }
  }
View Full Code Here

Examples of org.slf4j.helpers.FormattingTuple

   * @param format the format string
   * @param argArray an array of arguments
   */
  public void warn(String format, Object[] argArray) {
    if (log.isWarnEnabled()) {
      FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray);
      log.warn(ft.getMessage(), ft.getThrowable());
    }
  }
View Full Code Here

Examples of org.slf4j.helpers.FormattingTuple

   * @param arg
   *          the argument
   */
  public void error(String format, Object arg) {
    if (log.isErrorEnabled()) {
      FormattingTuple ft = MessageFormatter.format(format, arg);
      log.error(ft.getMessage(), ft.getThrowable());
    }
  }
View Full Code Here

Examples of org.slf4j.helpers.FormattingTuple

   * @param arg2
   *          the second argument
   */
  public void error(String format, Object arg1, Object arg2) {
    if (log.isErrorEnabled()) {
      FormattingTuple ft = MessageFormatter.format(format, arg1, arg2);
      log.error(ft.getMessage(), ft.getThrowable());
    }
  }
View Full Code Here

Examples of org.slf4j.helpers.FormattingTuple

   * @param format the format string
   * @param argArray an array of arguments
   */
  public void error(String format, Object[] argArray) {
    if (log.isErrorEnabled()) {
      FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray);
      log.error(ft.getMessage(), ft.getThrowable());
    }
  }
View Full Code Here

Examples of org.slf4j.helpers.FormattingTuple

     */
    public void trace(String format, Object arg)
    {
        if (isTraceEnabled())
        {
            FormattingTuple ft = MessageFormatter.format(format, arg);
            logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, ft
                    .getMessage(), ft.getThrowable());
        }
    }
View Full Code Here

Examples of org.slf4j.helpers.FormattingTuple

     */
    public void trace(String format, Object arg1, Object arg2)
    {
        if (isTraceEnabled())
        {
            FormattingTuple ft = MessageFormatter.format(format, arg1, arg2);
            logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, ft
                    .getMessage(), ft.getThrowable());
        }
    }
View Full Code Here

Examples of org.slf4j.helpers.FormattingTuple

     */
    public void trace(String format, Object[] argArray)
    {
        if (isTraceEnabled())
        {
            FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray);
            logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, ft
                    .getMessage(), ft.getThrowable());
        }
    }
View Full Code Here

Examples of org.slf4j.helpers.FormattingTuple

     */
    public void debug(String format, Object arg)
    {
        if (logger.isDebugEnabled())
        {
            FormattingTuple ft = MessageFormatter.format(format, arg);
            logger.log(FQCN, Level.DEBUG, ft.getMessage(), ft.getThrowable());
        }
    }
View Full Code Here

Examples of org.slf4j.helpers.FormattingTuple

     */
    public void debug(String format, Object arg1, Object arg2)
    {
        if (logger.isDebugEnabled())
        {
            FormattingTuple ft = MessageFormatter.format(format, arg1, arg2);
            logger.log(FQCN, Level.DEBUG, ft.getMessage(), ft.getThrowable());
        }
    }
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.