File cas_log.h
FileList > broker > cas_log.h
Go to the source code of this file
#include "hide_password.h"
Public Types
Public Functions
| Type |
Name |
| int |
cas_access_log (struct timeval * start_time, int as_index, int client_ip_addr, char * dbname, char * dbuser, ACCESS_LOG_TYPE log_type)
|
| void |
cas_log_close (bool flag)
|
| void |
cas_log_compile_begin_write_query_string (char * query, int size, HIDE_PWD_INFO_PTR hide_pwd_info_ptr)
|
| void |
cas_log_compile_begin_write_query_string_nonl (char * query, int size, HIDE_PWD_INFO_PTR hide_pwd_info_ptr)
|
| void |
cas_log_compile_end_write_query_string (char * query, int size, HIDE_PWD_INFO_PTR hide_pwd_info_ptr)
|
| void |
cas_log_compile_end_write_query_string_nonl (char * query, int size, HIDE_PWD_INFO_PTR hide_pwd_info_ptr)
|
| void |
cas_log_debug (const char * file_name, const int line_no, const char * fmt, ...)
|
| void |
cas_log_end (int mode, int run_time_sec, int run_time_msec)
|
| CAS_LOG_FD_STATUS |
cas_log_get_fd_status (void)
|
| void |
cas_log_open (char * br_name)
|
| void |
cas_log_open_and_write (char * br_name, unsigned int seq_num, bool unit_start, const char * fmt, ...)
|
| void |
cas_log_query_info_init (int id, char is_only_query_plan)
|
| char * |
cas_log_query_plan_file (int id)
|
| void |
cas_log_reset (char * br_name)
|
| void |
cas_log_write (unsigned int seq_num, bool unit_start, const char * fmt, ...)
|
| void |
cas_log_write2 (const char * fmt, ...)
|
| void |
cas_log_write2_nonl (const char * fmt, ...)
|
| void |
cas_log_write_and_end (unsigned int seq_num, bool unit_start, const char * fmt, ...)
|
| void |
cas_log_write_client_ip (const unsigned char * ip_addr)
|
| void |
cas_log_write_nonl (unsigned int seq_num, bool unit_start, const char * fmt, ...)
|
| void |
cas_log_write_query_string (char * query, int size, HIDE_PWD_INFO_PTR hide_pwd_info_ptr)
|
| void |
cas_log_write_query_string_nonl (char * query, int size, HIDE_PWD_INFO_PTR hide_pwd_info_ptr)
|
| void |
cas_log_write_value_string (char * value, int size)
|
| void |
cas_slow_log_close (void)
|
| void |
cas_slow_log_end (void)
|
| void |
cas_slow_log_open (char * br_name)
|
| void |
cas_slow_log_reset (char * br_name)
|
| void |
cas_slow_log_write (struct timeval * log_time, unsigned int seq_num, bool unit_start, const char * fmt, ...)
|
| void |
cas_slow_log_write2 (const char * fmt, ...)
|
| void |
cas_slow_log_write_and_end (struct timeval * log_time, unsigned int seq_num, const char * fmt, ...)
|
| void |
cas_slow_log_write_query_string (char * query, int size, HIDE_PWD_INFO_PTR hide_pwd_info_ptr)
|
| void |
cas_slow_log_write_value_string (char * value, int size)
|
Macros
| Type |
Name |
| define |
ARG_FILE_LINE [**\_\_FILE\_\_**](broker__monitor_8c.md#function-timeout), [**\_\_LINE\_\_**](broker__monitor_8c.md#function-timeout)
|
Public Types Documentation
enum ACCESS_LOG_TYPE
enum ACCESS_LOG_TYPE {
NEW_CONNECTION,
CLIENT_CHANGED,
ACL_REJECTED
};
enum CAS_LOG_FD_STATUS
enum CAS_LOG_FD_STATUS {
CAS_LOG_FD_NONE,
CAS_LOG_FD_OPENING,
CAS_LOG_FD_OPENED,
CAS_LOG_FD_CLOSING,
CAS_LOG_FD_CLOSED
};
Public Functions Documentation
function cas_access_log
int cas_access_log (
struct timeval * start_time,
int as_index,
int client_ip_addr,
char * dbname,
char * dbuser,
ACCESS_LOG_TYPE log_type
)
function cas_log_close
void cas_log_close (
bool flag
)
function cas_log_compile_begin_write_query_string
void cas_log_compile_begin_write_query_string (
char * query,
int size,
HIDE_PWD_INFO_PTR hide_pwd_info_ptr
)
function cas_log_compile_begin_write_query_string_nonl
void cas_log_compile_begin_write_query_string_nonl (
char * query,
int size,
HIDE_PWD_INFO_PTR hide_pwd_info_ptr
)
function cas_log_compile_end_write_query_string
void cas_log_compile_end_write_query_string (
char * query,
int size,
HIDE_PWD_INFO_PTR hide_pwd_info_ptr
)
function cas_log_compile_end_write_query_string_nonl
void cas_log_compile_end_write_query_string_nonl (
char * query,
int size,
HIDE_PWD_INFO_PTR hide_pwd_info_ptr
)
function cas_log_debug
void cas_log_debug (
const char * file_name,
const int line_no,
const char * fmt,
...
)
function cas_log_end
void cas_log_end (
int mode,
int run_time_sec,
int run_time_msec
)
function cas_log_get_fd_status
CAS_LOG_FD_STATUS cas_log_get_fd_status (
void
)
function cas_log_open
void cas_log_open (
char * br_name
)
function cas_log_open_and_write
void cas_log_open_and_write (
char * br_name,
unsigned int seq_num,
bool unit_start,
const char * fmt,
...
)
function cas_log_query_info_init
void cas_log_query_info_init (
int id,
char is_only_query_plan
)
function cas_log_query_plan_file
char * cas_log_query_plan_file (
int id
)
function cas_log_reset
void cas_log_reset (
char * br_name
)
function cas_log_write
void cas_log_write (
unsigned int seq_num,
bool unit_start,
const char * fmt,
...
)
function cas_log_write2
void cas_log_write2 (
const char * fmt,
...
)
function cas_log_write2_nonl
void cas_log_write2_nonl (
const char * fmt,
...
)
function cas_log_write_and_end
void cas_log_write_and_end (
unsigned int seq_num,
bool unit_start,
const char * fmt,
...
)
function cas_log_write_client_ip
void cas_log_write_client_ip (
const unsigned char * ip_addr
)
function cas_log_write_nonl
void cas_log_write_nonl (
unsigned int seq_num,
bool unit_start,
const char * fmt,
...
)
function cas_log_write_query_string
void cas_log_write_query_string (
char * query,
int size,
HIDE_PWD_INFO_PTR hide_pwd_info_ptr
)
function cas_log_write_query_string_nonl
void cas_log_write_query_string_nonl (
char * query,
int size,
HIDE_PWD_INFO_PTR hide_pwd_info_ptr
)
function cas_log_write_value_string
void cas_log_write_value_string (
char * value,
int size
)
function cas_slow_log_close
void cas_slow_log_close (
void
)
function cas_slow_log_end
void cas_slow_log_end (
void
)
function cas_slow_log_open
void cas_slow_log_open (
char * br_name
)
function cas_slow_log_reset
void cas_slow_log_reset (
char * br_name
)
function cas_slow_log_write
void cas_slow_log_write (
struct timeval * log_time,
unsigned int seq_num,
bool unit_start,
const char * fmt,
...
)
function cas_slow_log_write2
void cas_slow_log_write2 (
const char * fmt,
...
)
function cas_slow_log_write_and_end
void cas_slow_log_write_and_end (
struct timeval * log_time,
unsigned int seq_num,
const char * fmt,
...
)
function cas_slow_log_write_query_string
void cas_slow_log_write_query_string (
char * query,
int size,
HIDE_PWD_INFO_PTR hide_pwd_info_ptr
)
function cas_slow_log_write_value_string
void cas_slow_log_write_value_string (
char * value,
int size
)
Macro Definition Documentation
define ARG_FILE_LINE
#define ARG_FILE_LINE `__FILE__ , __LINE__`
The documentation for this class was generated from the following file cubrid/src/broker/cas_log.h