Java slf4j Logger alarm(String string)

Here you can find the source of alarm(String string)

Description

alarm

License

Open Source License

Declaration

public static void alarm(String string) 

Method Source Code


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

public class Main {
    private static final Logger alarm = LoggerFactory.getLogger("me.chengdong.bustime.looger.alarm");
    private static final Logger info = LoggerFactory.getLogger("me.chengdong.bustime.looger.info");

    public static void alarm(String string) {
        alarm.info(string);//from  ww w.  j av a 2 s. com
    }

    public static void info(String infoMessage) {
        info.info(infoMessage);
    }
}

Related

  1. callShell(final String shellString, final Logger log)
  2. caught(Exception e, String... bizDesc)
  3. checkInterrupted(String type, String name, Logger logger)
  4. cleanLoggingMdc()