2018-03-27 14:31:52 -07:00
|
|
|
def set_trace_flag(client, args):
|
2017-06-06 14:22:03 -07:00
|
|
|
params = {'flag': args.flag}
|
2018-03-27 14:31:52 -07:00
|
|
|
return client.call('set_trace_flag', params)
|
2017-06-06 14:22:03 -07:00
|
|
|
|
|
|
|
|
2018-03-27 14:31:52 -07:00
|
|
|
def clear_trace_flag(client, args):
|
2017-06-06 14:22:03 -07:00
|
|
|
params = {'flag': args.flag}
|
2018-03-27 14:31:52 -07:00
|
|
|
return client.call('clear_trace_flag', params)
|
2017-06-06 14:22:03 -07:00
|
|
|
|
|
|
|
|
2018-03-27 14:31:52 -07:00
|
|
|
def get_trace_flags(client, args):
|
|
|
|
return client.call('get_trace_flags')
|
2017-06-06 14:22:03 -07:00
|
|
|
|
|
|
|
|
2018-03-27 14:31:52 -07:00
|
|
|
def set_log_level(client, args):
|
2017-06-06 14:22:03 -07:00
|
|
|
params = {'level': args.level}
|
2018-03-27 14:31:52 -07:00
|
|
|
return client.call('set_log_level', params)
|
2017-06-06 14:22:03 -07:00
|
|
|
|
|
|
|
|
2018-03-27 14:31:52 -07:00
|
|
|
def get_log_level(client, args):
|
|
|
|
return client.call('get_log_level')
|
2017-06-06 14:22:03 -07:00
|
|
|
|
|
|
|
|
2018-03-27 14:31:52 -07:00
|
|
|
def set_log_print_level(client, args):
|
2017-06-06 14:22:03 -07:00
|
|
|
params = {'level': args.level}
|
2018-03-27 14:31:52 -07:00
|
|
|
return client.call('set_log_print_level', params)
|
2017-06-06 14:22:03 -07:00
|
|
|
|
|
|
|
|
2018-03-27 14:31:52 -07:00
|
|
|
def get_log_print_level(client, args):
|
|
|
|
return client.call('get_log_print_level')
|