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 TypeMethodDescriptionvoid
ehnLogDump
(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText, byte[] pbData, int cbData) void
ehnLogStackTrace
(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText, Throwable e) void
ehnLogWrite
(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText) void
endTrace()
com.progress.common.ehnlog.LogHandler
com.progress.common.ehnlog.LogWriter
com.progress.common.ehnlog.LogHandler
com.progress.common.ehnlog.LogWriter
com.progress.common.ehnlog.LogContext
long
boolean
int
byte[]
int
boolean
boolean
ifLogBasic
(long logEntries, int logEntryIndex) boolean
ifLogExtended
(long logEntries, int logEntryIndex) boolean
ifLogIt
(int loggingLevel, long logEntries, int logEntryIndex) boolean
ifLogLevel
(int loggingLevel) boolean
ifLogVerbose
(long logEntries, int logEntryIndex) void
void
void
void
logClose()
void
void
void
void
logExtended
(int entrytypeId, long msgId, Object... msgTokens) void
logExtended
(int entrytypeId, String msgFormat, Object... msgTokens) void
logStackTrace
(int entrytypeId, long msgId, Object[] msgTokens, Throwable except) void
logStackTrace
(int entrytypeId, String msg, Throwable except) void
logStackTrace
(long msgId, Object[] msgTokens, Throwable except) void
logStackTrace
(String msg, Throwable except) void
logVerbose
(int entrytypeId, long msgId, Object... msgTokens) void
logVerbose
(int entrytypeId, String msgFormat, Object... msgTokens) void
logWithThisLevel
(int level, int entrytypeId, String msg) void
logWriteMessage
(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText) void
logWriteMessage
(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText, Throwable except) nameAt
(int index) void
void
void
void
boolean
registerThresholdEventHandler
(com.progress.common.ehnlog.ILogEvntHandler handler) long
resetLogEntries
(String logEntryTypes) void
setExecEnvId
(String newExecEnvId) long
setLogEntries
(long newLogEntries, boolean newsubLevelUsed, byte[] newlogSubLevels) long
setLogEntries
(String logEntryTypes) int
setLoggingLevel
(int newLevel) void
void
startTrace
(int level) void
startTrace
(String fileName) void
startTrace
(String fileName, int level) boolean
switchLogFile
(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:
getCurrentLogFileName
in interfacecom.progress.common.ehnlog.IEhnLog
-
registerThresholdEventHandler
public boolean registerThresholdEventHandler(com.progress.common.ehnlog.ILogEvntHandler handler) - Specified by:
registerThresholdEventHandler
in interfacecom.progress.common.ehnlog.IEhnLog
-
startTrace
-
print
-
print
-
print
-
print
-
endTrace
public void endTrace() -
switchLogFile
- Specified by:
switchLogFile
in interfacecom.progress.common.ehnlog.IEhnLog
-
setLoggingLevel
public int setLoggingLevel(int newLevel) - Specified by:
setLoggingLevel
in interfacecom.progress.common.ehnlog.IAppLogger
-
setLogEntries
public long setLogEntries(long newLogEntries, boolean newsubLevelUsed, byte[] newlogSubLevels) - Specified by:
setLogEntries
in interfacecom.progress.common.ehnlog.IEhnLog
-
getLogEntries
public long getLogEntries()- Specified by:
getLogEntries
in interfacecom.progress.common.ehnlog.IEhnLog
-
setLogEntries
- Specified by:
setLogEntries
in interfacecom.progress.common.ehnlog.IAppLogger
-
resetLogEntries
- Specified by:
resetLogEntries
in interfacecom.progress.common.ehnlog.IAppLogger
-
getLoggingLevel
public int getLoggingLevel()- Specified by:
getLoggingLevel
in interfacecom.progress.common.ehnlog.IEhnLog
-
ifLogLevel
public boolean ifLogLevel(int loggingLevel) - Specified by:
ifLogLevel
in interfacecom.progress.common.ehnlog.IEhnLog
-
ifLogIt
public boolean ifLogIt(int loggingLevel, long logEntries, int logEntryIndex) - Specified by:
ifLogIt
in interfacecom.progress.common.ehnlog.IEhnLog
-
ifLogExtended
public boolean ifLogExtended(long logEntries, int logEntryIndex) - Specified by:
ifLogExtended
in interfacecom.progress.common.ehnlog.IEhnLog
-
ifLogBasic
public boolean ifLogBasic(long logEntries, int logEntryIndex) - Specified by:
ifLogBasic
in interfacecom.progress.common.ehnlog.IEhnLog
-
ifLogVerbose
public boolean ifLogVerbose(long logEntries, int logEntryIndex) - Specified by:
ifLogVerbose
in interfacecom.progress.common.ehnlog.IEhnLog
-
logExtended
- Specified by:
logExtended
in interfacecom.progress.common.ehnlog.IAppLogger
-
logExtended
- Specified by:
logExtended
in interfacecom.progress.common.ehnlog.IAppLogger
-
logAssert
- Specified by:
logAssert
in interfacecom.progress.common.ehnlog.IAppLogger
-
logBasic
- Specified by:
logBasic
in interfacecom.progress.common.ehnlog.IAppLogger
-
logBasic
- Specified by:
logBasic
in interfacecom.progress.common.ehnlog.IAppLogger
-
logVerbose
- Specified by:
logVerbose
in interfacecom.progress.common.ehnlog.IAppLogger
-
logVerbose
- Specified by:
logVerbose
in interfacecom.progress.common.ehnlog.IAppLogger
-
logError
- Specified by:
logError
in interfacecom.progress.common.ehnlog.IAppLogger
-
logError
- Specified by:
logError
in interfacecom.progress.common.ehnlog.IAppLogger
-
logWithThisLevel
- Specified by:
logWithThisLevel
in interfacecom.progress.common.ehnlog.IAppLogger
-
logWriteMessage
public void logWriteMessage(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText) - Specified by:
logWriteMessage
in interfacecom.progress.common.ehnlog.IAppLogger
-
logWriteMessage
public void logWriteMessage(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText, Throwable except) - Specified by:
logWriteMessage
in interfacecom.progress.common.ehnlog.IAppLogger
-
ehnLogWrite
public void ehnLogWrite(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText) - Specified by:
ehnLogWrite
in interfacecom.progress.common.ehnlog.IEhnLog
-
getLogContext
public com.progress.common.ehnlog.LogContext getLogContext()- Specified by:
getLogContext
in interfacecom.progress.common.ehnlog.IAppLogger
-
getExecEnvId
- Specified by:
getExecEnvId
in interfacecom.progress.common.ehnlog.IAppLogger
-
setExecEnvId
- Specified by:
setExecEnvId
in interfacecom.progress.common.ehnlog.IAppLogger
-
logStackTrace
- Specified by:
logStackTrace
in interfacecom.progress.common.ehnlog.IAppLogger
-
logStackTrace
- Specified by:
logStackTrace
in interfacecom.progress.common.ehnlog.IAppLogger
-
logStackTrace
- Specified by:
logStackTrace
in interfacecom.progress.common.ehnlog.IAppLogger
-
logStackTrace
- Specified by:
logStackTrace
in 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:
ehnLogDump
in interfacecom.progress.common.ehnlog.IEhnLog
-
ehnLogStackTrace
public void ehnLogStackTrace(int dest, int severityLevel, String execEnvId, String entrytypeId, String msgText, Throwable e) - Specified by:
ehnLogStackTrace
in interfacecom.progress.common.ehnlog.IEhnLog
-
logDump
- Specified by:
logDump
in interfacecom.progress.common.ehnlog.IAppLogger
-
logClose
public void logClose()- Specified by:
logClose
in interfacecom.progress.common.ehnlog.IAppLogger
-
nameAt
- Specified by:
nameAt
in interfacecom.progress.common.ehnlog.IAppLogger
-
getNumLogFiles
public int getNumLogFiles()- Specified by:
getNumLogFiles
in interfacecom.progress.common.ehnlog.IEhnLog
-
getSubLevelUsed
public boolean getSubLevelUsed()- Specified by:
getSubLevelUsed
in interfacecom.progress.common.ehnlog.IEhnLog
-
getLogSubLevels
public byte[] getLogSubLevels()- Specified by:
getLogSubLevels
in interfacecom.progress.common.ehnlog.IEhnLog
-
getLoggingIsOn
public boolean getLoggingIsOn()- Specified by:
getLoggingIsOn
in interfacecom.progress.common.ehnlog.IEhnLog
-
getDispWriter
public com.progress.common.ehnlog.LogWriter getDispWriter()- Specified by:
getDispWriter
in interfacecom.progress.common.ehnlog.IEhnLog
-
getFileWriter
public com.progress.common.ehnlog.LogWriter getFileWriter()- Specified by:
getFileWriter
in interfacecom.progress.common.ehnlog.IEhnLog
-
getDispHandler
public com.progress.common.ehnlog.LogHandler getDispHandler()- Specified by:
getDispHandler
in interfacecom.progress.common.ehnlog.IEhnLog
-
getFileHandler
public com.progress.common.ehnlog.LogHandler getFileHandler()- Specified by:
getFileHandler
in interfacecom.progress.common.ehnlog.IEhnLog
-