org.netbeans.core.startup/1 1.40

org.netbeans.core.startup
Class TopLogging

java.lang.Object
  extended by org.netbeans.core.startup.TopLogging

public final class TopLogging
extends Object

Class that sets the java.util.logging.LogManager configuration to log into the right file and put there the right content. Does nothing if either java.util.logging.config.file or java.util.logging.config.class is specified.


Constructor Summary
TopLogging()
          Initializes the logging configuration.
 
Method Summary
static void initializeQuietly()
          For use from NbErrorManagerTest.
static void printStackTrace(Throwable t, PrintWriter pw)
          For use also from NbErrorManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopLogging

public TopLogging()
Initializes the logging configuration. Invoked by LogManager.readConfiguration method.

Method Detail

initializeQuietly

public static void initializeQuietly()
For use from NbErrorManagerTest.


printStackTrace

public static void printStackTrace(Throwable t,
                                   PrintWriter pw)
For use also from NbErrorManager.

Parameters:
t - throwable to print
pw - the destination

org.netbeans.core.startup/1 1.40

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.