apm_callback_and_log (public)

 apm_callback_and_log [ -severity severity ] callback message

Defined in packages/acs-tcl/tcl/apm-procs.tcl

Executes the $callback callback routine with $message as an argument, and calls ns_log with the given $severity.

Switches:
-severity (optional, defaults to "Notice")
Parameters:
callback (required)
message (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_upgrade upgrade (test acs-lang) apm_callback_and_log apm_callback_and_log test_upgrade->apm_callback_and_log ad_html_to_text ad_html_to_text (public) apm_callback_and_log->ad_html_to_text apm_dependency_check apm_dependency_check (private) apm_dependency_check->apm_callback_and_log apm_files_load apm_files_load (private) apm_files_load->apm_callback_and_log apm_load_apm_file apm_load_apm_file (public) apm_load_apm_file->apm_callback_and_log apm_package_deinstall apm_package_deinstall (public) apm_package_deinstall->apm_callback_and_log apm_package_delete apm_package_delete (public) apm_package_delete->apm_callback_and_log

Testcases:
upgrade
Source code:
    $callback $message
    ns_log $severity [ad_html_to_text -maxlen 140 -- $message]
Generic XQL file:
packages/acs-tcl/tcl/apm-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/apm-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/apm-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: