Use td_set_log_max_file_size in python example.

GitOrigin-RevId: 1f493bcc5c010f72221c1314b444e7e7b4c22ac7
This commit is contained in:
levlam 2018-01-09 21:59:40 +03:00
parent 8c45a03244
commit cd0540e1c8
2 changed files with 5 additions and 0 deletions

View File

@ -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.restype = None
td_set_log_file_path.argtypes = [c_char_p] 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 = tdjson.td_set_log_verbosity_level
td_set_log_verbosity_level.restype = None td_set_log_verbosity_level.restype = None
td_set_log_verbosity_level.argtypes = [c_int] td_set_log_verbosity_level.argtypes = [c_int]

View File

@ -4,4 +4,5 @@ _td_json_client_send
_td_json_client_receive _td_json_client_receive
_td_json_client_execute _td_json_client_execute
_td_set_log_file_path _td_set_log_file_path
_td_set_log_max_file_size
_td_set_log_verbosity_level _td_set_log_verbosity_level