File broker_log_util.h¶
FileList > broker > broker_log_util.h
Go to the source code of this file
#include <sys/time.h>#include "cas_common.h"#include "log_top_string.h"
Public Functions¶
| Type | Name |
|---|---|
| char * | get_msg_start_ptr (char * linebuf) |
| int | is_cas_log (char * str) |
| int | str_to_log_date_format (char * str, char * date_format_str) |
| int | ut_check_log_valid_time (const char * log_date, const char * from_date, const char * to_date) |
| double | ut_diff_time (struct timeval * begin, struct timeval * end) |
| char * | ut_get_execute_type (char * msg_p, int * prepare_flag, int * execute_flag) |
| int | ut_get_line (FILE * fp, T_STRING * t_str, char ** out_str, int * lineno) |
| void | ut_tolower (char * str) |
Macros¶
| Type | Name |
|---|---|
| define | CAS_LOG_BEGIN_WITH_MONTH 2 |
| define | CAS_LOG_BEGIN_WITH_YEAR 1 |
| define | CAS_LOG_MSG_INDEX 22 |
| define | CAS_RUN_NEW_LINE_CHAR 1 |
| define | DATE_STR_LEN 21 |
| define | GET_CUR_DATE_STR (BUF, LINEBUF) /* multi line expression */ |
| define | ut_trim [**trim**](chartype_8c.md#function-trim) |
Public Functions Documentation¶
function get_msg_start_ptr¶
function is_cas_log¶
function str_to_log_date_format¶
function ut_check_log_valid_time¶
function ut_diff_time¶
function ut_get_execute_type¶
function ut_get_line¶
function ut_tolower¶
Macro Definition Documentation¶
define CAS_LOG_BEGIN_WITH_MONTH¶
define CAS_LOG_BEGIN_WITH_YEAR¶
define CAS_LOG_MSG_INDEX¶
define CAS_RUN_NEW_LINE_CHAR¶
define DATE_STR_LEN¶
define GET_CUR_DATE_STR¶
define ut_trim¶
The documentation for this class was generated from the following file cubrid/src/broker/broker_log_util.h