Package org.eclipse.net4j.util.om.log
Class EclipseLoggingBridge
- java.lang.Object
-
- org.eclipse.net4j.util.om.log.EclipseLoggingBridge
-
- All Implemented Interfaces:
OMLogHandler
public class EclipseLoggingBridge extends java.lang.Object implements OMLogHandler
Alog handlerthat appends log events to the Eclipseerror log.- Author:
- Eike Stepper
-
-
Field Summary
Fields Modifier and Type Field Description static EclipseLoggingBridgeINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protectedEclipseLoggingBridge()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlogged(OMLogger logger, OMLogger.Level level, java.lang.String msg, java.lang.Throwable t)static inttoEclipse(OMLogger.Level level)
-
-
-
Field Detail
-
INSTANCE
public static final EclipseLoggingBridge INSTANCE
- Singleton
-
-
Method Detail
-
logged
public void logged(OMLogger logger, OMLogger.Level level, java.lang.String msg, java.lang.Throwable t)
- Specified by:
loggedin interfaceOMLogHandler
-
toEclipse
public static int toEclipse(OMLogger.Level level)
-
-