Tracing functions
Functions | |
BUGTRAP_API BOOL APIENTRY | BT_AppLogEntry (INT_PTR iHandle, BUGTRAP_LOGLEVEL eLogLevel, LPCTSTR pszEntry) |
Append entry to the end of custom log file. This function is thread safe. | |
BUGTRAP_API BOOL CDECL | BT_AppLogEntryF (INT_PTR iHandle, BUGTRAP_LOGLEVEL eLogLevel, LPCTSTR pszFormat,...) |
Append entry to the end of custom log file. This function is thread safe. | |
BUGTRAP_API BOOL APIENTRY | BT_AppLogEntryV (INT_PTR iHandle, BUGTRAP_LOGLEVEL eLogLevel, LPCTSTR pszFormat, va_list argList) |
Append entry to the end of custom log file. This function is thread safe. | |
BUGTRAP_API BOOL APIENTRY | BT_ClearLog (INT_PTR iHandle) |
Clear log file. This function is thread safe. | |
BUGTRAP_API BOOL APIENTRY | BT_CloseLogFile (INT_PTR iHandle) |
Close custom log file. This function is thread safe. | |
BUGTRAP_API BOOL APIENTRY | BT_FlushLogFile (INT_PTR iHandle) |
Flush contents of the log file. | |
BUGTRAP_API DWORD APIENTRY | BT_GetLogEchoMode (INT_PTR iHandle) |
Get echo mode. | |
BUGTRAP_API LPCTSTR APIENTRY | BT_GetLogFileName (INT_PTR iHandle) |
Get custom log file name. This function is thread safe. | |
BUGTRAP_API DWORD APIENTRY | BT_GetLogFlags (INT_PTR iHandle) |
Return true if time stamp is added to every log entry. | |
BUGTRAP_API BUGTRAP_LOGLEVEL APIENTRY | BT_GetLogLevel (INT_PTR iHandle) |
Return minimal log level accepted by tracing functions. | |
BUGTRAP_API DWORD APIENTRY | BT_GetLogSizeInBytes (INT_PTR iHandle) |
Get maximum log file size in bytes. This function is thread safe. | |
BUGTRAP_API DWORD APIENTRY | BT_GetLogSizeInEntries (INT_PTR iHandle) |
Get maximum log file size in records. This function is thread safe. | |
BUGTRAP_API BOOL APIENTRY | BT_InsLogEntry (INT_PTR iHandle, BUGTRAP_LOGLEVEL eLogLevel, LPCTSTR pszEntry) |
Insert entry into the beginning of custom log file. This function is thread safe. | |
BUGTRAP_API BOOL CDECL | BT_InsLogEntryF (INT_PTR iHandle, BUGTRAP_LOGLEVEL eLogLevel, LPCTSTR pszFormat,...) |
Insert entry into the beginning of custom log file. This function is thread safe. | |
BUGTRAP_API BOOL APIENTRY | BT_InsLogEntryV (INT_PTR iHandle, BUGTRAP_LOGLEVEL eLogLevel, LPCTSTR pszFormat, va_list argList) |
Insert entry into the beginning of custom log file. This function is thread safe. | |
BUGTRAP_API INT_PTR APIENTRY | BT_OpenLogFile (LPCTSTR pszLogFileName, BUGTRAP_LOGFORMAT eLogFormat) |
Open custom log file. This function is thread safe. | |
BUGTRAP_API BOOL APIENTRY | BT_SetLogEchoMode (INT_PTR iHandle, DWORD dwLogEchoMode) |
Set echo mode. | |
BUGTRAP_API BOOL APIENTRY | BT_SetLogFlags (INT_PTR iHandle, DWORD dwLogFlags) |
Set true if time stamp is added to every log entry. | |
BUGTRAP_API BOOL APIENTRY | BT_SetLogLevel (INT_PTR iHandle, BUGTRAP_LOGLEVEL eLogLevel) |
Set minimal log level accepted by tracing functions. | |
BUGTRAP_API BOOL APIENTRY | BT_SetLogSizeInBytes (INT_PTR iHandle, DWORD dwLogSizeInEntries) |
Set maximum log file size in bytes. This function is thread safe. | |
BUGTRAP_API BOOL APIENTRY | BT_SetLogSizeInEntries (INT_PTR iHandle, DWORD dwLogSizeInEntries) |
Set maximum log file size in records. This function is thread safe. |
Function Documentation
BUGTRAP_API BOOL APIENTRY BT_AppLogEntry | ( | INT_PTR | iHandle, | |
BUGTRAP_LOGLEVEL | eLogLevel, | |||
LPCTSTR | pszEntry | |||
) |
Append entry to the end of custom log file. This function is thread safe.
Referenced by BTTrace::Append().
BUGTRAP_API BOOL CDECL BT_AppLogEntryF | ( | INT_PTR | iHandle, | |
BUGTRAP_LOGLEVEL | eLogLevel, | |||
LPCTSTR | pszFormat, | |||
... | ||||
) |
Append entry to the end of custom log file. This function is thread safe.
BUGTRAP_API BOOL APIENTRY BT_AppLogEntryV | ( | INT_PTR | iHandle, | |
BUGTRAP_LOGLEVEL | eLogLevel, | |||
LPCTSTR | pszFormat, | |||
va_list | argList | |||
) |
Append entry to the end of custom log file. This function is thread safe.
Referenced by BTTrace::AppendF(), and BTTrace::AppendV().
BUGTRAP_API BOOL APIENTRY BT_ClearLog | ( | INT_PTR | iHandle | ) |
BUGTRAP_API BOOL APIENTRY BT_CloseLogFile | ( | INT_PTR | iHandle | ) |
BUGTRAP_API BOOL APIENTRY BT_FlushLogFile | ( | INT_PTR | iHandle | ) |
Flush contents of the log file.
- Note:
- This function is optional and not required in normal conditions.
Referenced by BTTrace::Flush().
BUGTRAP_API DWORD APIENTRY BT_GetLogEchoMode | ( | INT_PTR | iHandle | ) |
BUGTRAP_API LPCTSTR APIENTRY BT_GetLogFileName | ( | INT_PTR | iHandle | ) |
BUGTRAP_API DWORD APIENTRY BT_GetLogFlags | ( | INT_PTR | iHandle | ) |
BUGTRAP_API BUGTRAP_LOGLEVEL APIENTRY BT_GetLogLevel | ( | INT_PTR | iHandle | ) |
BUGTRAP_API DWORD APIENTRY BT_GetLogSizeInBytes | ( | INT_PTR | iHandle | ) |
Get maximum log file size in bytes. This function is thread safe.
Referenced by BTTrace::GetLogSizeInBytes().
BUGTRAP_API DWORD APIENTRY BT_GetLogSizeInEntries | ( | INT_PTR | iHandle | ) |
Get maximum log file size in records. This function is thread safe.
Referenced by BTTrace::GetLogSizeInEntries().
BUGTRAP_API BOOL APIENTRY BT_InsLogEntry | ( | INT_PTR | iHandle, | |
BUGTRAP_LOGLEVEL | eLogLevel, | |||
LPCTSTR | pszEntry | |||
) |
Insert entry into the beginning of custom log file. This function is thread safe.
Referenced by BTTrace::Insert().
BUGTRAP_API BOOL CDECL BT_InsLogEntryF | ( | INT_PTR | iHandle, | |
BUGTRAP_LOGLEVEL | eLogLevel, | |||
LPCTSTR | pszFormat, | |||
... | ||||
) |
Insert entry into the beginning of custom log file. This function is thread safe.
BUGTRAP_API BOOL APIENTRY BT_InsLogEntryV | ( | INT_PTR | iHandle, | |
BUGTRAP_LOGLEVEL | eLogLevel, | |||
LPCTSTR | pszFormat, | |||
va_list | argList | |||
) |
Insert entry into the beginning of custom log file. This function is thread safe.
Referenced by BTTrace::InsertF(), and BTTrace::InsertV().
BUGTRAP_API INT_PTR APIENTRY BT_OpenLogFile | ( | LPCTSTR | pszLogFileName, | |
BUGTRAP_LOGFORMAT | eLogFormat | |||
) |
Open custom log file. This function is thread safe.
Referenced by BTTrace::BTTrace(), and BTTrace::Open().
BUGTRAP_API BOOL APIENTRY BT_SetLogEchoMode | ( | INT_PTR | iHandle, | |
DWORD | dwLogEchoMode | |||
) |
BUGTRAP_API BOOL APIENTRY BT_SetLogFlags | ( | INT_PTR | iHandle, | |
DWORD | dwLogFlags | |||
) |
BUGTRAP_API BOOL APIENTRY BT_SetLogLevel | ( | INT_PTR | iHandle, | |
BUGTRAP_LOGLEVEL | eLogLevel | |||
) |
BUGTRAP_API BOOL APIENTRY BT_SetLogSizeInBytes | ( | INT_PTR | iHandle, | |
DWORD | dwLogSizeInEntries | |||
) |
Set maximum log file size in bytes. This function is thread safe.
Referenced by BTTrace::SetLogSizeInBytes().
BUGTRAP_API BOOL APIENTRY BT_SetLogSizeInEntries | ( | INT_PTR | iHandle, | |
DWORD | dwLogSizeInEntries | |||
) |
Set maximum log file size in records. This function is thread safe.
Referenced by BTTrace::SetLogSizeInEntries().
Generated on Sun Dec 21 21:40:08 2008 for BugTrap by 1.5.7.1