From cd0540e1c85bb54de74ab73ed72b0b63dfc12b8b Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 9 Jan 2018 21:59:40 +0300 Subject: [PATCH] Use td_set_log_max_file_size in python example. GitOrigin-RevId: 1f493bcc5c010f72221c1314b444e7e7b4c22ac7 --- example/python/tdjson_example.py | 4 ++++ tdclientjson_export_list | 1 + 2 files changed, 5 insertions(+) diff --git a/example/python/tdjson_example.py b/example/python/tdjson_example.py index 507981840..312903953 100644 --- a/example/python/tdjson_example.py +++ b/example/python/tdjson_example.py @@ -33,6 +33,10 @@ td_set_log_file_path = tdjson.td_set_log_file_path td_set_log_file_path.restype = None td_set_log_file_path.argtypes = [c_char_p] +td_set_log_max_file_size = tdjson.td_set_log_max_file_size +td_set_log_max_file_size.restype = None +td_set_log_max_file_size.argtypes = [c_longlong] + td_set_log_verbosity_level = tdjson.td_set_log_verbosity_level td_set_log_verbosity_level.restype = None td_set_log_verbosity_level.argtypes = [c_int] diff --git a/tdclientjson_export_list b/tdclientjson_export_list index 41d38bc1c..bb23be91f 100644 --- a/tdclientjson_export_list +++ b/tdclientjson_export_list @@ -4,4 +4,5 @@ _td_json_client_send _td_json_client_receive _td_json_client_execute _td_set_log_file_path +_td_set_log_max_file_size _td_set_log_verbosity_level