public class IpssLogger extends java.lang.Object implements IpssMsgListener
| Modifier and Type | Field and Description |
|---|---|
static java.util.logging.Logger |
ipssLogger
a static logger object.
|
static java.lang.String |
LoggerName |
| Constructor and Description |
|---|
IpssLogger() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.logging.Logger |
getLogger()
get the logger object.
|
static void |
initLogger()
initialize the logger object
|
static void |
initLogger(java.lang.String proFilename)
for init the logger from a logger init property file
|
static void |
logErr(java.lang.Exception e)
Logger exception object
|
void |
onMsgEvent(IpssMessage msg)
Implementation of the onMsgEvent method.
|
boolean |
onMsgEventStatus(IpssMessage msg)
the method is not implemented.
|
static void |
setLogger(java.util.logging.Logger logger)
Set logger, used to integrate with other system
|
public static final java.lang.String LoggerName
public static java.util.logging.Logger ipssLogger
public static void initLogger()
public static void initLogger(java.lang.String proFilename)
proFilename - logger init property filepublic static void setLogger(java.util.logging.Logger logger)
logger - public static java.util.logging.Logger getLogger()
public static void logErr(java.lang.Exception e)
e - an exception objectpublic void onMsgEvent(IpssMessage msg)
onMsgEvent in interface IpssMsgListenermsg - the msg objectpublic boolean onMsgEventStatus(IpssMessage msg)
onMsgEventStatus in interface IpssMsgListenermsg - msg