Package com.progress.open4gl.dynamicapi
Class Tracer
java.lang.Object
com.progress.open4gl.dynamicapi.Tracer
- All Implemented Interfaces:
com.progress.common.ehnlog.IAppLogger,com.progress.common.ehnlog.IEhnLog,Serializable
- See Also:
-
Field Summary
FieldsFields inherited from interface com.progress.common.ehnlog.IEhnLog
CI_NONE, DEST_BOTH, DEST_DISPLAY, DEST_LOGFILE, DEST_NONE, EI_NONE, LOG_APPEND, LOG_OVERWRITE, LOGENT_NONE, LOGGING_BASIC, LOGGING_DIAG, LOGGING_ERRORS, LOGGING_EXTENDED, LOGGING_OFF, LOGGING_TERSE, LOGGING_VERBOSE, LOGTHRESHOLD_NONE, MAXLOGENTRIES, NUMLOGFILES_NONE, SL_NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidehnLogDump(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText, byte[] pbData, int cbData) voidehnLogStackTrace(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText, Throwable e) voidehnLogWrite(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText) voidendTrace()com.progress.common.ehnlog.LogHandlercom.progress.common.ehnlog.LogWritercom.progress.common.ehnlog.LogHandlercom.progress.common.ehnlog.LogWritercom.progress.common.ehnlog.LogContextlongbooleanintbyte[]intbooleanbooleanifLogBasic(long logEntries, int logEntryIndex) booleanifLogExtended(long logEntries, int logEntryIndex) booleanifLogIt(int loggingLevel, long logEntries, int logEntryIndex) booleanifLogLevel(int loggingLevel) booleanifLogVerbose(long logEntries, int logEntryIndex) voidvoidvoidvoidlogClose()voidvoidvoidvoidlogExtended(int entrytypeId, long msgId, Object... msgTokens) voidlogExtended(int entrytypeId, String msgFormat, Object... msgTokens) voidlogStackTrace(int entrytypeId, long msgId, Object[] msgTokens, Throwable except) voidlogStackTrace(int entrytypeId, String msg, Throwable except) voidlogStackTrace(long msgId, Object[] msgTokens, Throwable except) voidlogStackTrace(String msg, Throwable except) voidlogVerbose(int entrytypeId, long msgId, Object... msgTokens) voidlogVerbose(int entrytypeId, String msgFormat, Object... msgTokens) voidlogWithThisLevel(int level, int entrytypeId, String msg) voidlogWriteMessage(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText) voidlogWriteMessage(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText, Throwable except) nameAt(int index) voidvoidvoidvoidbooleanregisterThresholdEventHandler(com.progress.common.ehnlog.ILogEvntHandler handler) longresetLogEntries(String logEntryTypes) voidsetExecEnvId(String newExecEnvId) longsetLogEntries(long newLogEntries, boolean newsubLevelUsed, byte[] newlogSubLevels) longsetLogEntries(String logEntryTypes) intsetLoggingLevel(int newLevel) voidvoidstartTrace(int level) voidstartTrace(String fileName) voidstartTrace(String fileName, int level) booleanswitchLogFile(String logFileName, int logAppendMode)
-
Field Details
-
DEF_EXEC_ENV_ID
- See Also:
-
DEF_SUBSYSTEM_ID
- See Also:
-
O4GLRT_VERSIONID
-
-
Constructor Details
-
Tracer
public Tracer()
-
-
Method Details
-
startTrace
public void startTrace() -
startTrace
public void startTrace(int level) -
startTrace
-
getCurrentLogFileName
- Specified by:
getCurrentLogFileNamein interfacecom.progress.common.ehnlog.IEhnLog
-
registerThresholdEventHandler
public boolean registerThresholdEventHandler(com.progress.common.ehnlog.ILogEvntHandler handler) - Specified by:
registerThresholdEventHandlerin interfacecom.progress.common.ehnlog.IEhnLog
-
startTrace
-
print
-
print
-
print
-
print
-
endTrace
public void endTrace() -
switchLogFile
- Specified by:
switchLogFilein interfacecom.progress.common.ehnlog.IEhnLog
-
setLoggingLevel
public int setLoggingLevel(int newLevel) - Specified by:
setLoggingLevelin interfacecom.progress.common.ehnlog.IAppLogger
-
setLogEntries
public long setLogEntries(long newLogEntries, boolean newsubLevelUsed, byte[] newlogSubLevels) - Specified by:
setLogEntriesin interfacecom.progress.common.ehnlog.IEhnLog
-
getLogEntries
public long getLogEntries()- Specified by:
getLogEntriesin interfacecom.progress.common.ehnlog.IEhnLog
-
setLogEntries
- Specified by:
setLogEntriesin interfacecom.progress.common.ehnlog.IAppLogger
-
resetLogEntries
- Specified by:
resetLogEntriesin interfacecom.progress.common.ehnlog.IAppLogger
-
getLoggingLevel
public int getLoggingLevel()- Specified by:
getLoggingLevelin interfacecom.progress.common.ehnlog.IEhnLog
-
ifLogLevel
public boolean ifLogLevel(int loggingLevel) - Specified by:
ifLogLevelin interfacecom.progress.common.ehnlog.IEhnLog
-
ifLogIt
public boolean ifLogIt(int loggingLevel, long logEntries, int logEntryIndex) - Specified by:
ifLogItin interfacecom.progress.common.ehnlog.IEhnLog
-
ifLogExtended
public boolean ifLogExtended(long logEntries, int logEntryIndex) - Specified by:
ifLogExtendedin interfacecom.progress.common.ehnlog.IEhnLog
-
ifLogBasic
public boolean ifLogBasic(long logEntries, int logEntryIndex) - Specified by:
ifLogBasicin interfacecom.progress.common.ehnlog.IEhnLog
-
ifLogVerbose
public boolean ifLogVerbose(long logEntries, int logEntryIndex) - Specified by:
ifLogVerbosein interfacecom.progress.common.ehnlog.IEhnLog
-
logExtended
- Specified by:
logExtendedin interfacecom.progress.common.ehnlog.IAppLogger
-
logExtended
- Specified by:
logExtendedin interfacecom.progress.common.ehnlog.IAppLogger
-
logAssert
- Specified by:
logAssertin interfacecom.progress.common.ehnlog.IAppLogger
-
logBasic
- Specified by:
logBasicin interfacecom.progress.common.ehnlog.IAppLogger
-
logBasic
- Specified by:
logBasicin interfacecom.progress.common.ehnlog.IAppLogger
-
logVerbose
- Specified by:
logVerbosein interfacecom.progress.common.ehnlog.IAppLogger
-
logVerbose
- Specified by:
logVerbosein interfacecom.progress.common.ehnlog.IAppLogger
-
logError
- Specified by:
logErrorin interfacecom.progress.common.ehnlog.IAppLogger
-
logError
- Specified by:
logErrorin interfacecom.progress.common.ehnlog.IAppLogger
-
logWithThisLevel
- Specified by:
logWithThisLevelin interfacecom.progress.common.ehnlog.IAppLogger
-
logWriteMessage
public void logWriteMessage(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText) - Specified by:
logWriteMessagein interfacecom.progress.common.ehnlog.IAppLogger
-
logWriteMessage
public void logWriteMessage(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText, Throwable except) - Specified by:
logWriteMessagein interfacecom.progress.common.ehnlog.IAppLogger
-
ehnLogWrite
public void ehnLogWrite(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText) - Specified by:
ehnLogWritein interfacecom.progress.common.ehnlog.IEhnLog
-
getLogContext
public com.progress.common.ehnlog.LogContext getLogContext()- Specified by:
getLogContextin interfacecom.progress.common.ehnlog.IAppLogger
-
getExecEnvId
- Specified by:
getExecEnvIdin interfacecom.progress.common.ehnlog.IAppLogger
-
setExecEnvId
- Specified by:
setExecEnvIdin interfacecom.progress.common.ehnlog.IAppLogger
-
logStackTrace
- Specified by:
logStackTracein interfacecom.progress.common.ehnlog.IAppLogger
-
logStackTrace
- Specified by:
logStackTracein interfacecom.progress.common.ehnlog.IAppLogger
-
logStackTrace
- Specified by:
logStackTracein interfacecom.progress.common.ehnlog.IAppLogger
-
logStackTrace
- Specified by:
logStackTracein interfacecom.progress.common.ehnlog.IAppLogger
-
ehnLogDump
public void ehnLogDump(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText, byte[] pbData, int cbData) - Specified by:
ehnLogDumpin interfacecom.progress.common.ehnlog.IEhnLog
-
ehnLogStackTrace
public void ehnLogStackTrace(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText, Throwable e) - Specified by:
ehnLogStackTracein interfacecom.progress.common.ehnlog.IEhnLog
-
logDump
- Specified by:
logDumpin interfacecom.progress.common.ehnlog.IAppLogger
-
logClose
public void logClose()- Specified by:
logClosein interfacecom.progress.common.ehnlog.IAppLogger
-
nameAt
- Specified by:
nameAtin interfacecom.progress.common.ehnlog.IAppLogger
-
getNumLogFiles
public int getNumLogFiles()- Specified by:
getNumLogFilesin interfacecom.progress.common.ehnlog.IEhnLog
-
getSubLevelUsed
public boolean getSubLevelUsed()- Specified by:
getSubLevelUsedin interfacecom.progress.common.ehnlog.IEhnLog
-
getLogSubLevels
public byte[] getLogSubLevels()- Specified by:
getLogSubLevelsin interfacecom.progress.common.ehnlog.IEhnLog
-
getLoggingIsOn
public boolean getLoggingIsOn()- Specified by:
getLoggingIsOnin interfacecom.progress.common.ehnlog.IEhnLog
-
getDispWriter
public com.progress.common.ehnlog.LogWriter getDispWriter()- Specified by:
getDispWriterin interfacecom.progress.common.ehnlog.IEhnLog
-
getFileWriter
public com.progress.common.ehnlog.LogWriter getFileWriter()- Specified by:
getFileWriterin interfacecom.progress.common.ehnlog.IEhnLog
-
getDispHandler
public com.progress.common.ehnlog.LogHandler getDispHandler()- Specified by:
getDispHandlerin interfacecom.progress.common.ehnlog.IEhnLog
-
getFileHandler
public com.progress.common.ehnlog.LogHandler getFileHandler()- Specified by:
getFileHandlerin interfacecom.progress.common.ehnlog.IEhnLog
-