Package org.apache.log4j.helpers

Examples of org.apache.log4j.helpers.PatternConverter.format()


            if (buf.capacity() > MAX_CAPACITY) {
                buf = new StringBuffer(BUF_SIZE);
            } else {
                buf.setLength(0);
            }
            c.format(buf, event);

            // Escape double quotes and \ in String generated by converters
            // other than a LiteralPatternConverter. Can't use "instance of"
            // because class is private.
            if (c.getClass().getSimpleName().equals("LiteralPatternConverter")) {
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.