Package org.apache.isis.core.commons.debug

Examples of org.apache.isis.core.commons.debug.DebugBuilder.endSection()


                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.appendTitle("Another title");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.endSection();

                debug.startSection("Section 3");
                debug.appendln("boolean", false);
                debug.appendln("number", 89878);
                debug.endSection();
View Full Code Here


                debug.endSection();

                debug.startSection("Section 3");
                debug.appendln("boolean", false);
                debug.appendln("number", 89878);
                debug.endSection();
                debug.startSection("Subsection 2");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.endSection();
View Full Code Here

                debug.appendln("number", 89878);
                debug.endSection();
                debug.startSection("Subsection 2");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.endSection();

                debug.startSection("Section 4");
                debug.appendln("boolean", false);
                debug.indent();
                debug.appendln("boolean", false);
View Full Code Here

                debug.appendln("number", 12348);
                debug.unindent();
                debug.appendln("number", 12348);
                debug.appendPreformatted("code", "line 1\nline 2\nline 3");
                debug.appendln("A lot of text etc.");
                debug.endSection();

                request.appendHtml(debug.toString());
                //request.appendHtml("<pre>" + debug.toString() + "</pre>");
               
                debug.close();
View Full Code Here

                debug.appendln("boolean", true);
                debug.appendln("number", 213);
                debug.startSection("Section 1");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.endSection();
                debug.startSection("Section 2");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.appendTitle("Another title");
                debug.appendln("boolean", false);
View Full Code Here

        final DebugBuilder debug = new DebugTee(debugText, debugHtml);

        try {
            debug.startSection("Exception");
            debug.appendException(exception);
            debug.endSection();
        } catch (final RuntimeException e) {
            debug.appendln("NOTE - an exception occurred while dumping an exception!");
            debug.appendException(e);
        }
View Full Code Here

        requestContext.append(debug);

        debug.startSection("Processing Trace");
        debug.appendPreformatted(requestContext.getDebugTrace());
        debug.endSection();
        debug.close();

        PrintWriter writer;
        try {
            final String directory = IsisContext.getConfiguration().getString(ConfigurationConstants.ROOT + "scimpi.error-snapshots", ".");
View Full Code Here

        final DebugBuilder debug = new DebugTee(debugText, debugHtml);

        try {
            debug.startSection("Exception");
            debug.appendException(exception);
            debug.endSection();
        } catch (final RuntimeException e) {
            debug.appendln("NOTE - an exception occurred while dumping an exception!");
            debug.appendException(e);
        }
View Full Code Here

        requestContext.append(debug);

        debug.startSection("Processing Trace");
        debug.appendPreformatted(requestContext.getDebugTrace());
        debug.endSection();
        debug.close();

        PrintWriter writer;
        try {
            final String directory =
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.