|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.logging.LoggerFactory
public class LoggerFactory
Factory class for creating Logger instances.
Keep in mind that this factory class follows the singleton model.
ie: once an instance of a Logger class for a given plugin is created,
it will always be reused.
Constructor Summary | |
---|---|
LoggerFactory()
|
Method Summary | |
---|---|
static void |
freeLogger(Plugin plugin)
Frees resources used by the Logger instance for the given plugin. |
static Logger |
getLogger(Plugin plugin)
Returns the Logger instance for a given plugin. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggerFactory()
Method Detail |
---|
public static Logger getLogger(Plugin plugin)
plugin
- the plugin for which to find or create the log
public static void freeLogger(Plugin plugin)
plugin
- the plugin for which to free logging resources
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |