public interface LogsInterface
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_STATUSINFO_ID
"NOT PROVIDED", Default StatusInfo ID for logStatusInfo.
|
Modifier and Type | Method and Description |
---|---|
void |
closeAllLogs()
Close ALL logs.
|
void |
closeLog(UniqueIDInterface log)
Close the specified log.
|
void |
initLog(UniqueLogInterface logInfo)
Initialize/Open the specified log.
|
void |
logMessage(UniqueMessageInterface message)
Log a message to a particular log.
|
void |
logStatusInfo(UniqueIDInterface log,
StatusInterface status,
java.lang.String infoID)
Log a Status Report to a particular log.
|
void |
resumeAllLogs()
Resume loggint to ALL previosly suspended logs.
|
void |
resumeLog(UniqueIDInterface log)
Resume logging to a previously suspended log.
|
void |
setLogLevel(UniqueLogLevelInterface loglevel)
Set/Change the log level or filter for log messages.
|
void |
suspendAllLogs()
Suspend logging to ALL open logs.
|
void |
suspendLog(UniqueIDInterface log)
Suspend logging for a particular log.
|
void |
truncate(boolean enabled)
Enable/Disable the truncation of logged messages.
|
void |
truncate(int numchars)
Enable truncation of logged messages to the numchars length provided.
|
static final java.lang.String DEFAULT_STATUSINFO_ID
void initLog(UniqueLogInterface logInfo)
void setLogLevel(UniqueLogLevelInterface loglevel)
void logMessage(UniqueMessageInterface message)
void logStatusInfo(UniqueIDInterface log, StatusInterface status, java.lang.String infoID)
log
- -- the facname of the log to generate the report.status
- -- the StatusInterface containing the counts to report.infoID
- -- Name or ID to give to the status information in the log.
This is usually used to show the subject of the status info.
For example, "Regression Test", "TestCase 123456", etc..
DEFAULT_STATUSINFO_ID used if null or zero-length.void suspendLog(UniqueIDInterface log)
void suspendAllLogs()
void resumeLog(UniqueIDInterface log)
void resumeAllLogs()
void truncate(int numchars)
void truncate(boolean enabled)
void closeLog(UniqueIDInterface log)
void closeAllLogs()
Copyright © SAS Institute. All Rights Reserved.