public class STAFXmlLogItem extends AbstractSTAFXmlLogItem
SAFSLoggingService
,
SLSLogFacility
capXML
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, init, logMessage, logMessage, logMessage, prependFinalLog, setCapXML
exportSTAFLog, finalizeLogFile, getMachineName, readStringFromSTAFLog, readUIntFromSTAFLog, setDebugLog, setHandle, stafLogLog, stafLogLog, stafLogRequest
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.