public class PlatformLogWriter
extends java.lang.Object
Note that this class just provides a bridge from the old ILog interface to the new extended log service
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EQUINOX_LOGGER_NAME |
| Constructor and Description |
|---|
PlatformLogWriter(ExtendedLogService logService,
PackageAdmin packageAdmin,
Bundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
static IStatus |
convertToStatus(LogEntry logEntry) |
static int |
getLevel(IStatus status) |
static FrameworkLogEntry |
getLog(IStatus status) |
boolean |
isLoggable(Bundle bundle,
java.lang.String loggerName,
int logLevel) |
void |
logged(LogEntry entry) |
public static final java.lang.String EQUINOX_LOGGER_NAME
public PlatformLogWriter(ExtendedLogService logService,
PackageAdmin packageAdmin,
Bundle bundle)
public static int getLevel(IStatus status)
public static FrameworkLogEntry getLog(IStatus status)
public boolean isLoggable(Bundle bundle,
java.lang.String loggerName,
int logLevel)
public void logged(LogEntry entry)
public static IStatus convertToStatus(LogEntry logEntry)