Package com.dtolabs.rundeck.core.execution

Examples of com.dtolabs.rundeck.core.execution.BaseLogger


        Integer integer = logLevel.get();
        return null != integer && integer <= level;
    }

    public void log(int level, String message) {
        BaseLogger baseLogger1 = baseLogger.get();
        PluginLogger pluginLogger1 = pluginLogger.get();
        if (null != baseLogger1) {
            switch (level) {
                case Logger.FATAL:
                case Logger.ERROR:
                    baseLogger1.error(message);
                    break;
                case Logger.WARN:
                    baseLogger1.warn(message);
                    break;
                case Logger.DEBUG:
                    baseLogger1.debug(message);
                    break;
                case Logger.INFO:
                default:
                    baseLogger1.log(message);
                    break;
            }
        }
        if (null != pluginLogger1) {
            switch (level) {
View Full Code Here

TOP

Related Classes of com.dtolabs.rundeck.core.execution.BaseLogger

Copyright © 2018 www.massapicom. 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.