Example usage for java.util.logging ConsoleHandler subclass-usage

List of usage examples for java.util.logging ConsoleHandler subclass-usage

Introduction

In this page you can find the example usage for java.util.logging ConsoleHandler subclass-usage.

Usage

From source file com.p000ison.dev.simpleclans2.dataserver.ServerLoggerHandler.java

/**
 * Represents a ServerLoggerHandler
 */
public class ServerLoggerHandler extends ConsoleHandler {

    private static final FastDateFormat DATE_FORMAT = FastDateFormat.getInstance("k:m");

From source file org.diorite.impl.log.ForwardLogHandler.java

public class ForwardLogHandler extends ConsoleHandler {
    private final Map<String, Logger> cachedLoggers = new ConcurrentHashMap<>(10);

    private Logger getLogger(final String name) {
        Logger logger = this.cachedLoggers.get(name);
        if (logger == null) {

From source file com.grossbart.jslim.JSlim.java

/**
 * This little console handler makes it possible to send Java logging to System.out 
 * instead of System.err.
 */
class SlimConsoleHandler extends ConsoleHandler {
    protected void setOutputStream(OutputStream out) throws SecurityException {