File shard_proxy_log.h¶
FileList > broker > shard_proxy_log.h
Go to the source code of this file
#include <stdio.h>#include <stdarg.h>#include <stdlib.h>#include <time.h>#include <string.h>#include <errno.h>#include <unistd.h>#include <sys/time.h>#include "broker_shm.h"#include "broker_config.h"
Public Functions¶
| Type | Name |
|---|---|
| int | proxy_access_log (struct timeval * start_time, int client_ip_addr, const char * dbname, const char * dbuser, bool accepted) |
| void | proxy_access_log_close (void) |
| void | proxy_log_close (void) |
| void | proxy_log_end (void) |
| int | proxy_log_get_level (void) |
| void | proxy_log_open (char * br_name, int proxy_index) |
| void | proxy_log_write (int level, char * svc_code, const char * fmt, ...) |
Macros¶
| Type | Name |
|---|---|
| define | DEBUG_FUNC () |
| define | ENTER_FUNC () |
| define | EXIT_FUNC () |
| define | PROXY_DEBUG_LOG (fmt, args...) /* multi line expression */ |
| define | PROXY_LOG (level, fmt, args...) /* multi line expression */ |
Public Functions Documentation¶
function proxy_access_log¶
int proxy_access_log (
struct timeval * start_time,
int client_ip_addr,
const char * dbname,
const char * dbuser,
bool accepted
)
function proxy_access_log_close¶
function proxy_log_close¶
function proxy_log_end¶
function proxy_log_get_level¶
function proxy_log_open¶
function proxy_log_write¶
Macro Definition Documentation¶
define DEBUG_FUNC¶
define ENTER_FUNC¶
define EXIT_FUNC¶
define PROXY_DEBUG_LOG¶
define PROXY_LOG¶
The documentation for this class was generated from the following file cubrid/src/broker/shard_proxy_log.h