org.apache.muse.core.platform.osgi
Class OSGiLogHandler
java.lang.Object
java.util.logging.Handler
org.apache.muse.core.platform.osgi.OSGiLogHandler
public class OSGiLogHandler
- extends Handler
- Author:
- BarryAtkins
Methods inherited from class java.util.logging.Handler |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_listener
protected OSGiLogListener _listener
OSGiLogHandler
public OSGiLogHandler(String logfile)
throws IOException
- Throws:
IOException
setLogService
public static void setLogService(org.osgi.service.log.LogService logService)
setLogReaderService
public static void setLogReaderService(org.osgi.service.log.LogReaderService logReaderService)
publish
public void publish(LogRecord record)
- Specified by:
publish
in class Handler
close
public void close()
- Specified by:
close
in class Handler
flush
public void flush()
- Specified by:
flush
in class Handler
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.