public class HL7Logger
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HL7_LOGGER_NAME
HL7 logger Name
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLogFile()
Get the log file.
|
static HL7Logger |
getLogger()
Returns empty instance of HL7Logger enabled for logging in the error log file.
|
static HL7Logger |
getLogger(java.lang.String strLogFile)
Returns empty instance of HL7Logger enabled for logging in the error log file.
|
void |
log(java.lang.Exception ide)
Logs the exception with the level severe.
|
void |
log(java.util.logging.Level objLevel,
java.lang.String strLogMessage)
Logs the given Message with Level specified.
|
void |
log(java.lang.String strLogMessage)
Logs the given Message with Level Severe.
|
public static final java.lang.String HL7_LOGGER_NAME
public static HL7Logger getLogger()
public static HL7Logger getLogger(java.lang.String strLogFile)
strLogFile - File in which logging to be donepublic void log(java.util.logging.Level objLevel,
java.lang.String strLogMessage)
objLevel - Level to be specifiedstrLogMessage - Log messagepublic void log(java.lang.String strLogMessage)
strLogMessage - Log messagepublic void log(java.lang.Exception ide)
ide - Exception to be logged.public java.lang.String getLogFile()