| logging.PluginLogAppender
PluginLogAppender | public class PluginLogAppender extends AppenderSkeleton (Code) | | PluginLogAppender
This class is a custom Log4J appender that sends Log4J events to
the Eclipse plug-in log.
author: Manoel Marques |
append | public void append(LoggingEvent event)(Code) | | Log event happened.
Translates level to status instance codes:
level > Level.ERROR - Status.ERROR
level > Level.WARN - Status.WARNING
level > Level.DEBUG - Status.INFO
default - Status.OK
Parameters: event - LoggingEvent instance |
close | public void close()(Code) | | Closes this appender
|
requiresLayout | public boolean requiresLayout()(Code) | | Checks if this appender requires layout
true if layout is required. |
setLog | void setLog(ILog pluginLog)(Code) | | Sets the Eclipse log instance
Parameters: log - plug-in log |
|
|