public class DicomLogger
extends java.lang.Object
DicomConfig class.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DICOM_LOGGER_NAME
Specifies name of log file.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLogFile() |
static DicomLogger |
getLogger()
Retrieves empty instance of DicomLogger enabled for logging in the error log file.
|
static DicomLogger |
getLogger(java.lang.String strLogFile)
Retrieves empty instance of DicomLogger enabled for logging in the error log file.
|
void |
log(java.lang.Exception ide)
Logs the exception with the level specified.
|
void |
log(java.lang.String strLogMessage)
Logs the error message with the level specified.
|
void |
log(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Exception e)
Logs the error message with the level specified.
|
public static final java.lang.String DICOM_LOGGER_NAME
public java.lang.String getLogFile()
public static DicomLogger getLogger()
public static DicomLogger getLogger(java.lang.String strLogFile)
public void log(java.lang.Exception ide)
ide - Exception to be logged.public void log(java.lang.String strLogMessage)
strLogMessage - Message to be logged.public void log(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Exception e)
sourceClass - name of class that issued the logging request.sourceMethod - name of method that issued the logging request.msg - The string message (or a key in the message catalog).e - instance of Exception .