|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.platform.engine.core.system.PentahoBase org.pentaho.platform.engine.services.PentahoMessenger
public abstract class PentahoMessenger
Field Summary |
---|
Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase |
---|
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR |
Fields inherited from interface org.pentaho.platform.api.engine.ILogger |
---|
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN |
Constructor Summary | |
---|---|
PentahoMessenger()
|
Method Summary | |
---|---|
void |
debug(String message)
Log a message object with the DEBUG Level. |
void |
debug(String message,
Throwable error)
Log a message with the DEBUG level including the stack
trace of the Throwable error passed as parameter. |
void |
error(ActionSequenceException exception)
|
void |
error(String message)
Log a message object with the ERROR Level. |
void |
error(String message,
Throwable error)
Log a message with the ERROR level including the stack
trace of the Throwable error passed as parameter. |
void |
fatal(String message)
Log a message object with the FATAL Level. |
void |
fatal(String message,
Throwable error)
Log a message with the FATAL level including the stack
trace of the Throwable error passed as parameter. |
List |
getMessages()
|
static String |
getUserString(String type)
|
void |
info(String message)
Log a message object with the INFO Level. |
void |
info(String message,
Throwable error)
Log a message with the INFO level including the stack trace
of the Throwable error passed as parameter. |
void |
setMessages(List messages)
|
void |
trace(String message)
Log a message object with the TRACE Level. |
void |
trace(String message,
Throwable error)
Log a message with the TRACE level including the stack
trace of the Throwable error passed as parameter. |
void |
warn(String message)
Log a message object with the WARN Level. |
void |
warn(String message,
Throwable error)
Log a message with the WARN level including the stack trace
of the Throwable error passed as parameter. |
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase |
---|
genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLogger, getLoggingLevel, getLogId, getObjectName, setLoggingLevel, setLogId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PentahoMessenger()
Method Detail |
---|
public List getMessages()
public void setMessages(List messages)
public void trace(String message)
ILogger
TRACE
Level.
trace
in interface ILogger
trace
in class PentahoBase
message
- the message object to log.public void debug(String message)
ILogger
DEBUG
Level.
debug
in interface ILogger
debug
in class PentahoBase
message
- the message object to log.public void info(String message)
ILogger
INFO
Level.
info
in interface ILogger
info
in class PentahoBase
message
- the message object to log.public void warn(String message)
ILogger
WARN
Level.
warn
in interface ILogger
warn
in class PentahoBase
message
- the message object to log.public void error(ActionSequenceException exception)
public void error(String message)
ILogger
ERROR
Level.
error
in interface ILogger
error
in class PentahoBase
message
- the message object to log.public void fatal(String message)
ILogger
FATAL
Level.
fatal
in interface ILogger
fatal
in class PentahoBase
message
- the message object to log.public void trace(String message, Throwable error)
ILogger
TRACE
level including the stack
trace of the Throwable error passed as parameter.
trace
in interface ILogger
trace
in class PentahoBase
message
- the message object to log.error
- the exception to log, including its stack trace.public void debug(String message, Throwable error)
ILogger
DEBUG
level including the stack
trace of the Throwable error passed as parameter.
debug
in interface ILogger
debug
in class PentahoBase
message
- the message object to log.error
- the exception to log, including its stack trace.public void info(String message, Throwable error)
ILogger
INFO
level including the stack trace
of the Throwable error passed as parameter.
info
in interface ILogger
info
in class PentahoBase
message
- the message object to log.error
- the exception to log, including its stack trace.public void warn(String message, Throwable error)
ILogger
WARN
level including the stack trace
of the Throwable error passed as parameter.
warn
in interface ILogger
warn
in class PentahoBase
message
- the message object to log.error
- the exception to log, including its stack trace.public void error(String message, Throwable error)
ILogger
ERROR
level including the stack
trace of the Throwable error passed as parameter.
error
in interface ILogger
error
in class PentahoBase
message
- the message object to log.error
- the exception to log, including its stack trace.public void fatal(String message, Throwable error)
ILogger
FATAL
level including the stack
trace of the Throwable error passed as parameter.
fatal
in interface ILogger
fatal
in class PentahoBase
message
- the message object to log.error
- the exception to log, including its stack trace.public static String getUserString(String type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |