public class STAFXmlLogItem3 extends AbstractSTAFXmlLogItem
SAFSLoggingService3
,
SLSLogFacility
capXML
debugLog, handle, LINEFEED, SAFSLOG_MAJOR_VER, SAFSLOG_MINOR_VER, STAFVersion
Constructor and Description |
---|
STAFXmlLogItem3(java.lang.String file)
Creates a disabled
STAFXmlLogItem3 with default name (file
name) and log level (LOGLEVEL_INFO ), and empty parent
directory. |
STAFXmlLogItem3(java.lang.String parent,
java.lang.String file)
Creates a disabled
STAFXmlLogItem3 with default name (file
name) and log level (LOGLEVEL_INFO ). |
STAFXmlLogItem3(java.lang.String name,
java.lang.String parent,
java.lang.String file)
Creates a disabled
STAFXmlLogItem3 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 STAFXmlLogItem3(java.lang.String name, java.lang.String parent, java.lang.String file)
STAFXmlLogItem3
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 STAFXmlLogItem3(java.lang.String parent, java.lang.String file)
STAFXmlLogItem3
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 STAFXmlLogItem3(java.lang.String file)
STAFXmlLogItem3
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.