Examples of ignoresThrowable()


Examples of org.apache.log4j.Layout.ignoresThrowable()

    protected void append(LoggingEvent event) {
        StringBuilder sb = new StringBuilder();
        final Layout layout = getLayout();
        if (null != layout) {
            sb.append(layout.format(event));
            if (layout.ignoresThrowable()) {
                String[] s = event.getThrowableStrRep();
                if (s != null) {
                    int len = s.length;
                    for (int i = 0; i < len; i++) {
                        sb.append(s[i]);
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.