Java slf4j Logger getMessage(String message, Object... args)

Here you can find the source of getMessage(String message, Object... args)

Description

get Message

License

Apache License

Declaration

public static String getMessage(String message, Object... args) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import org.slf4j.helpers.MessageFormatter;

public class Main {

    public static String getMessage(String message, Object... args) {
        return MessageFormatter.arrayFormat(message, args).getMessage();
    }//from   w w w  . j  a v  a  2  s. co m
}

Related

  1. getLogger(String className)
  2. getLoggerForCurrentClass()
  3. getLoggerInstance(String callerCLass)
  4. getLoggerLevel(Logger logger)
  5. getLong(Properties config, String key, long defaultValue)
  6. getTraceLevel(Logger logger)
  7. ic static void i(String fmt, Object... args)
  8. info(Class clz, String logStr)
  9. info(final Logger log, final String message, final Object... args)