All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mtons.utils.Printer Maven / Gradle / Ivy

/*
+--------------------------------------------------------------------------
|   mtons [#RELEASE_VERSION#]
|   ========================================
|   Copyright (c) 2014, 2015 mtons. All Rights Reserved
|   http://www.mtons.com
|
+---------------------------------------------------------------------------
*/
package mtons.utils;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * @author langhsu on 2015/9/6.
 */
public class Printer {
    private static Log log = LogFactory.getLog("mtons");

    public static void info(String message) {
        log.info(message);
    }

    public static void warn(String message) {
        log.warn(message);
    }

    public static void error(String message) {
        log.error(message);
    }
    
    public static void debug(String message) {
    	log.debug(message);
    }

    public static void error(String message, Throwable t) {
        log.error(message, t);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy