cth_conn_log

DATA TYPES

conn_mod() = ct_netconfc | ct_telnet

----------------------------------------------------------------------

hook_option() = {log_type, log_type()} | {hosts, [key_or_name() (see module ct_gen_conn)]}
hook_options() = [hook_option()]

Options that can be given to cth_conn_log in the ct_hook statement.

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()