Package org.apache.log4j.gui

Examples of org.apache.log4j.gui.TextPanelAppender$LogPublishingThread


  String catName = "dum.cat.name";

  public LogTextPanelExample() {

    // setup the logging
    TextPanelAppender tpa = new TextPanelAppender(new PatternLayout("%-5p %d [%t]:  %m%n"), "logTextPanel");
    tpa.setThreshold(Priority.DEBUG);
    Category cat = Category.getInstance(catName);
    cat.addAppender(tpa);

    LogFrame frame = new LogFrame(tpa);
    frame.validate();
View Full Code Here


  String catName = "dum.cat.name";

  public LogTextPanelExample() {

    // setup the logging
    TextPanelAppender tpa = new TextPanelAppender(new PatternLayout("%-5p %d [%t]:  %m%n"), "logTextPanel");
    tpa.setThreshold(Priority.DEBUG);
    Category cat = Category.getInstance(catName);
    cat.addAppender(tpa);

    LogFrame frame = new LogFrame(tpa);
    frame.validate();
View Full Code Here

  String catName = "dum.cat.name";

  public LogTextPanelExample() {

    // setup the logging
    TextPanelAppender tpa = new TextPanelAppender(new PatternLayout("%-5p %d [%t]:  %m%n"), "logTextPanel");
    tpa.setThreshold(Priority.DEBUG);
    Category cat = Category.getInstance(catName);
    cat.addAppender(tpa);

    LogFrame frame = new LogFrame(tpa);
    frame.validate();
View Full Code Here

TOP

Related Classes of org.apache.log4j.gui.TextPanelAppender$LogPublishingThread

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.