Here you can find the source of alarm(String string)
public static void alarm(String string)
//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); } }