Java slf4j Logger ic static void i(String fmt, Object... args)

Here you can find the source of ic static void i(String fmt, Object... args)

Description

i

License

Open Source License

Declaration

public static void i(String fmt, Object... args) 

Method Source Code


//package com.java2s;

import org.slf4j.Logger;

public class Main {
    private static Logger logger;

    public static void i(String fmt, Object... args) {
        i(logger, fmt, args);/*w w w.j ava2s.c  o  m*/
    }

    public static void i(Logger log, String fmt, Object... args) {
        if (log != null && log.isInfoEnabled()) {
            log.info(fmt, args);
        }
    }
}

Related

  1. getLoggerInstance(String callerCLass)
  2. getLoggerLevel(Logger logger)
  3. getLong(Properties config, String key, long defaultValue)
  4. getMessage(String message, Object... args)
  5. getTraceLevel(Logger logger)
  6. info(Class clz, String logStr)
  7. info(final Logger log, final String message, final Object... args)
  8. info(final Logger logger, final String message)
  9. info(Logger log, Object... objectsToString)