org.eclipse.net4j.util.om.log
Class EclipseLoggingBridge

java.lang.Object
  extended by org.eclipse.net4j.util.om.log.EclipseLoggingBridge
All Implemented Interfaces:
OMLogHandler

public class EclipseLoggingBridge
extends Object
implements OMLogHandler

A log handler that appends log events to the Eclipse error log.


Field Summary
static EclipseLoggingBridge INSTANCE
           
 
Constructor Summary
protected EclipseLoggingBridge()
           
 
Method Summary
 void logged(OMLogger logger, OMLogger.Level level, String msg, Throwable t)
           
static int toEclipse(OMLogger.Level level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final EclipseLoggingBridge INSTANCE
Singleton
Constructor Detail

EclipseLoggingBridge

protected EclipseLoggingBridge()
Method Detail

logged

public void logged(OMLogger logger,
                   OMLogger.Level level,
                   String msg,
                   Throwable t)
Specified by:
logged in interface OMLogHandler

toEclipse

public static int toEclipse(OMLogger.Level level)


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.