cth_conn_log

Types


conn_mod() = ct_netconfc | ct_telnet

hook_option() = {log_type, log_type()}
                      | {hosts, [ct_gen_conn:key_or_name()]}

hook_options() = [hook_option()]

log_type() = raw | pretty | html | silent

Functions


init(Id, HookOpts) -> Result

  • Id = term()
  • HookOpts = hook_options()
  • Result = {ok, [{conn_mod(), {log_type(), [key_or_name() (see module ct_gen_conn)]}}]}

pre_init_per_testcase(TestCase, Config, CthState) -> term()

post_end_per_testcase(TestCase, Config, Return, CthState) -> term()