List of usage examples for java.util.logging StreamHandler subclass-usage
From source file Main.java
class ExceptionHandler extends StreamHandler { public void publish(LogRecord record) { String msg = record.getMessage(); int exceptionIndex = msg.indexOf("Exception"); if (exceptionIndex > -1) {
From source file net.larry1123.elec.util.logger.UtilFileHandler.java
/** * @author Larry1123 * @since 10/19/2014 - 4:37 AM */ public class UtilFileHandler extends StreamHandler {
From source file org.apache.jena.atlas.logging.java.ConsoleHandlerStream.java
/** Console handler that modifies {@link java.util.logging.ConsoleHandler}.
* Supports the configuration parameters of {@link ConsoleHandler} -- {@code .level},
* {@code .filter}, {@code .formatter} and {@code .encoding}.
* <p>
* Defaults:
* <ul>
From source file org.spoutcraft.launcher.Main.java
class RotatingFileHandler extends StreamHandler { private final SimpleDateFormat date; private final String logFile; private String filename; public RotatingFileHandler(String logFile) {