Package org.apache.turbine.services.logging

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


            {
                System.out.println("(!) NOTICE: " + msg);
            }
            else
            {
                logger.info(msg);
            }
        }
        else
        {
            System.out.println("NOTICE: " + msg);
View Full Code Here


    private void enableLogging()
    {
        LoggingService logger = getLogger();
        if (logger != null)
        {
            logger.info("ServiceBroker: LoggingService enabled.");
            enabledLogging = true;
        }
    }

    /**
 
View Full Code Here

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

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

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

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

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

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

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

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

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

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

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

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

     */
    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

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.