Package org.apache.turbine.services.logging

Examples of org.apache.turbine.services.logging.LoggingService.info()


     */
    public static void info(String logName, String message, RunData data)
    {
        LoggingService logger = (LoggingService)TurbineServices.getInstance()
            .getService(LoggingService.SERVICE_NAME);
        logger.info(logName, message, data);
    }

    /**
     * This is a log method with logLevel == INFO, printing is done by
     * the given logger
View Full Code Here


                            RunData data,
                            Throwable t)
    {
        LoggingService logger = (LoggingService)TurbineServices.getInstance()
            .getService(LoggingService.SERVICE_NAME);
        logger.info(logName, message, data, t);
    }

    /**
     * This is a log method with logLevel == WARN, printing is done by
     * the default logger
View Full Code Here

     */
    public static void note(String message)
    {
        LoggingService logger = (LoggingService)TurbineServices.getInstance()
            .getService(LoggingService.SERVICE_NAME);
        logger.info(message);
    }

    /**
     * This method has been deprecated.
     * This is method is kept for historical reason.
View Full Code Here

     */
    public static void note(String logName, String message)
    {
        LoggingService logger = (LoggingService)TurbineServices.getInstance()
            .getService(LoggingService.SERVICE_NAME);
        logger.info(logName, message);
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.