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