|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.apama.iaf.plugin.IAFLogger
Logger
instead. This class will be
removed in a future release.
public class IAFLogger
IAFLogger provides methods to log error and status information to the standard IAF output log. This class can only be used by a class that was loaded by the IAF, as it relies on the IAF JPlugin library already being loaded. This class is thread safe.
Constructor Summary | |
---|---|
IAFLogger()
Deprecated. Constructs an IAFLogger for this transport or codec, without specifying a name to be prepended to messages. |
|
IAFLogger(java.lang.String name)
Deprecated. Constructs an IAFLogger for this transport or codec. |
Method Summary | |
---|---|
int |
getLogLevel()
Deprecated. |
boolean |
isCritEnabled()
Deprecated. Returns true if critical level logging is enabled |
boolean |
isDebugEnabled()
Deprecated. Returns true if debug level logging is enabled |
boolean |
isErrorEnabled()
Deprecated. Returns true if error level logging is enabled |
boolean |
isFatalEnabled()
Deprecated. Returns true if fatal level logging is enabled |
boolean |
isInfoEnabled()
Deprecated. Returns true if info level logging is enabled |
boolean |
isWarnEnabled()
Deprecated. Returns true if warn level logging is enabled |
void |
logCritical(java.lang.String msg)
Deprecated. Logs the specified critical message. |
void |
logCritical(java.lang.String msg,
java.lang.Object[] args)
Deprecated. Logs the specified critical message. |
void |
logDebug(java.lang.String msg)
Deprecated. Logs the specified debug message. |
void |
logDebug(java.lang.String msg,
java.lang.Object[] args)
Deprecated. Logs the specified debug message. |
void |
logError(java.lang.String msg)
Deprecated. Logs the specified error message. |
void |
logError(java.lang.String msg,
java.lang.Object[] args)
Deprecated. Logs the specified error message. |
void |
logInfo(java.lang.String msg)
Deprecated. Logs the specified information message. |
void |
logInfo(java.lang.String msg,
java.lang.Object[] args)
Deprecated. Logs the specified information message. |
void |
logWarning(java.lang.String msg)
Deprecated. Logs the specified warning message. |
void |
logWarning(java.lang.String msg,
java.lang.Object[] args)
Deprecated. Logs the specified warning message. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IAFLogger(java.lang.String name)
name
- The name of the transport or codec, which will
be prepended to all log messages.public IAFLogger()
Method Detail |
---|
public void logCritical(java.lang.String msg)
msg
- public void logCritical(java.lang.String msg, java.lang.Object[] args)
msg
- args
- Arguments inserted into msg
as specified by
tokens of the form {n}
where n is the argument index.MessageFormat.format(java.lang.String, java.lang.Object[])
public void logError(java.lang.String msg)
msg
- public void logError(java.lang.String msg, java.lang.Object[] args)
msg
- args
- Arguments inserted into msg
as specified by
tokens of the form {n}
where n is the argument index.MessageFormat.format(java.lang.String, java.lang.Object[])
public void logWarning(java.lang.String msg)
msg
- public void logWarning(java.lang.String msg, java.lang.Object[] args)
msg
- args
- Arguments inserted into msg
as specified by
tokens of the form {n}
where n is the argument index.MessageFormat.format(java.lang.String, java.lang.Object[])
public void logInfo(java.lang.String msg)
msg
- public void logInfo(java.lang.String msg, java.lang.Object[] args)
msg
- args
- Arguments inserted into msg
as specified by
tokens of the form {n}
where n is the argument index.MessageFormat.format(java.lang.String, java.lang.Object[])
public void logDebug(java.lang.String msg)
msg
- public void logDebug(java.lang.String msg, java.lang.Object[] args)
msg
- args
- Arguments inserted into msg
as specified by
tokens of the form {n}
where n is the argument index.MessageFormat.format(java.lang.String, java.lang.Object[])
public int getLogLevel()
public boolean isDebugEnabled()
public boolean isInfoEnabled()
public boolean isWarnEnabled()
public boolean isErrorEnabled()
public boolean isFatalEnabled()
public boolean isCritEnabled()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |