public class STAFXmlLogItem extends AbstractSTAFXmlLogItem
SAFSLoggingService
,
SLSLogFacility
capXML, PROPERTY_DATE, PROPERTY_IP, PROPERTY_MACHINE, PROPERTY_MAJOR, PROPERTY_MINOR, PROPERTY_NAME, PROPERTY_TIME, PROPERTY_TYPE, PROPERTY_USER, TAG_LOG_CLOSED, TAG_LOG_MESSAGE, TAG_LOG_OPENED, TAG_LOG_VERSION, TAG_MESSAGE_DETAILS, TAG_MESSAGE_TEXT, TAG_SAFS_LOG, TAG_STATUS_END_DETAILS, TAG_STATUS_END_TEXT, TAG_STATUS_ITEM, TAG_STATUS_ITEM_DETAILS, TAG_STATUS_ITEM_TEXT, TAG_STATUS_REPORT, TAG_STATUS_START_DETAILS, TAG_STATUS_START_TEXT
debugLog, handle, LINEFEED, SAFSLOG_MAJOR_VER, SAFSLOG_MINOR_VER, STAFVersion
Constructor and Description |
---|
STAFXmlLogItem(java.lang.String file)
Creates a disabled
STAFXmlLogItem with default name (file
name) and log level (LOGLEVEL_INFO ), and empty parent
directory. |
STAFXmlLogItem(java.lang.String parent,
java.lang.String file)
Creates a disabled
STAFXmlLogItem with default name (file
name) and log level (LOGLEVEL_INFO ). |
STAFXmlLogItem(java.lang.String name,
java.lang.String parent,
java.lang.String file)
Creates a disabled
STAFXmlLogItem with default log level
(LOGLEVEL_INFO ). |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getSTAFLogDirectory()
Returns the DIRECTORY setting of the STAF LOG service.
|
appendFinalLog, close, formatMessage, getCapXML, getCloseMessages, getInitMessages, init, logMessage, logMessage, logMessage, prependFinalLog, setCapXML
exportSTAFLog, finalizeLogFile, getMachineName, getTestName, readStringFromSTAFLog, readUIntFromSTAFLog, setDebugLog, setHandle, stafLogLog, stafLogLog, stafLogRequest, write, writeCloseMessages, writeInitMessages
fileExists, getAbsolutePath, getFileSpec, getParentDir, isFileSpecAbsolute, setParentDir
public STAFXmlLogItem(java.lang.String name, java.lang.String parent, java.lang.String file)
STAFXmlLogItem
with default log level
(LOGLEVEL_INFO
).
The type of this log item is always LOGMODE_SAFS_XML
.
name
- the name of this log.parent
- the parent directory for this log.file
- the file spec of this log.public STAFXmlLogItem(java.lang.String parent, java.lang.String file)
STAFXmlLogItem
with default name (file
name) and log level (LOGLEVEL_INFO
).
The type of this log item is always LOGMODE_SAFS_XML
.
parent
- the parent directory for this log.file
- the file spec of this log.public STAFXmlLogItem(java.lang.String file)
STAFXmlLogItem
with default name (file
name) and log level (LOGLEVEL_INFO
), and empty parent
directory.
The type of this log item is always LOGMODE_SAFS_XML
.
file
- the file spec of this log.protected java.lang.String getSTAFLogDirectory()
getSTAFLogDirectory
in class STAFFileLogItem
Copyright © SAS Institute. All Rights Reserved.