Java slf4j Logger d d(String fmt, Object... args)

Here you can find the source of d d(String fmt, Object... args)

Description

d

License

Open Source License

Declaration

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

Method Source Code


//package com.java2s;

import org.slf4j.Logger;

public class Main {
    private static Logger logger;

    public static void d(String fmt, Object... args) {
        i(logger, fmt, args);/*from w  ww .  j a v  a2s. c om*/
    }

    public static void d(Logger log, String fmt, Object... args) {
        if (log != null && log.isDebugEnabled()) {
            log.debug(fmt, args);
        }
    }

    public static void i(String fmt, Object... args) {
        i(logger, fmt, args);
    }

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

Related

  1. closeQuietly(AutoCloseable toClose, Logger log)
  2. configureXWikiLogs()
  3. configureXWikiLogs()
  4. countMSCandidates(byte[] byteARR)
  5. countMSCandidates_m2(ArrayList asHexAL)
  6. debug(Logger logger, Exception e)
  7. debug(Logger logger, String format, Object... arguments)
  8. displayProperties(Logger log, Properties prop)
  9. dumpConfiguration(Map map, Logger log)