List of utility methods to do Log to Stream
void | logCallStack(PrintStream out) log Call Stack printStackTrace(Thread.currentThread().getStackTrace(), out); |
void | logToStream(OutputStream o) Adds a handler that will log all messages to a given Output Stream. StreamHandler sh = new StreamHandler(o, new SimpleFormatter()); addedHandlers.add(sh); getLogger().addHandler(sh); |