TSG-22082: support set split log file by size

This commit is contained in:
root
2024-08-07 08:47:15 +00:00
parent 2fd93a1648
commit d114221ebe
6 changed files with 54 additions and 4 deletions

1
deps/log/log.h vendored
View File

@@ -41,6 +41,7 @@ enum {
void log_print(struct log_handle *, int level, const char *module, const char *fmt, ...);
void log_handle_set_enable(struct log_handle *, int enable);
void log_handle_set_level(struct log_handle *, int level);
void log_handle_set_file_max_size(struct log_handle *, size_t max_file_size_mb);
struct log_handle * log_handle_create(const char *file_path, int level);
void log_handle_destroy(struct log_handle *);