Class LogBusHandler

java.lang.Object
java.util.logging.Handler
org.lsst.ccs.messaging.LogBusHandler
All Implemented Interfaces:
Closeable, AutoCloseable

public class LogBusHandler extends Handler implements Closeable
A java util log Handler that forwards messages to the Log bus. As it may be used in the context of "multi-logging" of the org.lsst.ccs.utilities.logging package it checks for duplicate messages.
Should be a singleton with delegation to a unique static instance (but how to pass the communication layer?) If we share two subsystems on the same JVM the Singleton will not work so it is utmost importance to get the subsystemName directly and create two instances!!!
Author:
bamade