Package org.jruby.rack

Examples of org.jruby.rack.RackLogger


        this.logger = logger;
    }
   
    @Override
    protected void log(String message) {
        final RackLogger logger = getLogger();
        if (logger != null) {
            logger.log(RackLogger.INFO, message);
        }
        else {
            super.log(message);
        }
    }
View Full Code Here


        }
    }

    @Override
    protected void log(String message, Exception e) {
        final RackLogger logger = getLogger();
        if (logger != null) {
            logger.log(RackLogger.ERROR, message, e);
        }
        else {
            super.log(message, e);
        }
    }
View Full Code Here

TOP

Related Classes of org.jruby.rack.RackLogger

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.