Java slf4j Logger error(String errorMessage, Throwable e)

Here you can find the source of error(String errorMessage, Throwable e)

Description

error

License

Open Source License

Declaration

public static void error(String errorMessage, Throwable e) 

Method Source Code


//package com.java2s;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Main {
    private static final Logger error = LoggerFactory.getLogger("com.conversant.looger.error");

    public static void error(String errorMessage, Throwable e) {
        e.printStackTrace();/*from www .j av a 2 s .  c  om*/
        error.error(errorMessage, e);
    }

    public static void error(String errorMessage) {
        error.error(errorMessage);
    }
}

Related

  1. dumpConfiguration(Map map, Logger log)
  2. error(Class clz, String logStr, Throwable e)
  3. error(final BundleContext b, final String msg, final Throwable t)
  4. error(Logger log, String fmt, String... args)
  5. error(Logger logger, Exception e)
  6. error(String msg, Throwable e)
  7. ExecptionLog(Logger log, String msg, Throwable e)
  8. extractValue(String var)
  9. findMarker(Marker marker, String name)