diff options
| author | fengweihao <[email protected]> | 2023-02-28 14:30:20 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2023-02-28 14:30:20 +0800 |
| commit | b0f980a3b598009a76d9cd92b44147dc7e13e5de (patch) | |
| tree | afd23853d3a1a5c71afda37db424a6ecc075bb83 /include | |
| parent | a338d8d40555aaee90b0d6334bfc3c64ffa32d06 (diff) | |
The watch slots changes function adds resp code judgmentsv3.0.2
Add a log level and path interface
Diffstat (limited to 'include')
| -rw-r--r-- | include/swarmkv/swarmkv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/swarmkv/swarmkv.h b/include/swarmkv/swarmkv.h index f2e05d0..46a6897 100644 --- a/include/swarmkv/swarmkv.h +++ b/include/swarmkv/swarmkv.h @@ -54,6 +54,8 @@ int swarmkv_options_set_sync_interval_us(struct swarmkv_options *opts, unsigned int swarmkv_options_set_bind_address(struct swarmkv_options *opts, const char* ip_addr); int swarmkv_options_set_logger(struct swarmkv_options *opts, void *logger); +int swarmkv_options_set_log_level(struct swarmkv_options *opts, int loglevel); +int swarmkv_options_set_log_path(struct swarmkv_options *opts, const char *logpath); int swarmkv_options_set_consul_port(struct swarmkv_options *opts, unsigned int consul_port); int swarmkv_options_set_consul_host(struct swarmkv_options *opts, const char* ip_addr); int swarmkv_options_set_dryrun(struct swarmkv_options *opts); |
