List of usage examples for java.util.logging Handler setErrorManager
public synchronized void setErrorManager(ErrorManager em)
From source file:MailHandlerDemo.java
/** * Common fallback settings for a single handler. * * @param h the handler.//from w ww . j av a2 s .c o m */ private static void fallbackSettings(Handler h) { if (h != null) { h.setErrorManager(new FileErrorManager()); h.setLevel(Level.ALL); } }