|
TPTP 4.4.0 Monitoring Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.logging.commons.Logger
org.eclipse.hyades.logging.parsers.internal.importer.GLALogger
This class extends org.eclipse.hyades.logging.commons.Logger so that it only logs the Common Base Event message instead of the whole Common Base Event. This class is used to log GLA messages.
Log,
LogFactory,
LoggingAgent,
Logger,
LoggerFactory| Field Summary |
|---|
| Fields inherited from class org.eclipse.hyades.logging.commons.Logger |
|---|
DEBUG_LEVEL, ERROR_LEVEL, FATAL_LEVEL, INFO_LEVEL, loggingAgent, TRACE_LEVEL, WARN_LEVEL |
| Constructor Summary | |
|---|---|
GLALogger(java.lang.String name)
Constructor to create a logger instance with a Logging Agent using the parameter name. |
|
| Method Summary | |
|---|---|
void |
trace(java.lang.Object record)
Logs the parameter java.lang.Object log record to the
Logging Agent with the same name as the logger if TRACE logging is
currently enabled.
|
void |
trace(java.lang.Object record,
java.lang.Throwable throwable)
Logs the parameter java.lang.Object log record and
java.lang.Throwable exception to the Logging Agent with
the same name as the logger if TRACE logging is currently enabled.
|
| Methods inherited from class org.eclipse.hyades.logging.commons.Logger |
|---|
debug, debug, error, error, fatal, fatal, finalize, getLevel, getLevelAsString, getName, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isLogging, isTraceEnabled, isWarnEnabled, setLevel, setLevelAsString, waitUntilLogging, warn, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GLALogger(java.lang.String name)
name - The name of the newly created logger.| Method Detail |
public void trace(java.lang.Object record)
java.lang.Object log record to the
Logging Agent with the same name as the logger if TRACE logging is
currently enabled.
If the log record is a CommonBaseEvent only the CommonBaseEvent message will be
sent to the Logging Agent. Otherwise it is assumed the record is a String.
record - The log record to be logged to the Logging Agent.
public void trace(java.lang.Object record,
java.lang.Throwable throwable)
java.lang.Object log record and
java.lang.Throwable exception to the Logging Agent with
the same name as the logger if TRACE logging is currently enabled.
If the log record is a CommonBaseEvent only the CommonBaseEvent message will be
sent to the Logging Agent. Otherwise it is assumed the record is a String.
Only the parameter java.lang.Object log record is logged.
The java.lang.Throwable exception is ignored.
record - The log record to be logged to the Logging Agent.throwable - The exception will be ignored
|
TPTP 4.4.0 Monitoring Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||