aa_log (public)

 aa_log [ args... ]

Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl

Writes a log message to the testcase log. Call this function within a testcase, stub or component.

Author:
Peter Harper
Created:
24 July 2001

Partial Call Graph (max 5 caller/called nodes):
%3 test_webtest_example webtest_example (test acs-automated-testing) aa_log aa_log test_webtest_example->aa_log aa_indent aa_indent (private) aa_log->aa_indent aa_log_result aa_log_result (public) aa_log->aa_log_result aa_call_component aa_call_component (public) aa_call_component->aa_log aa_check_leftovers aa_check_leftovers (public) aa_check_leftovers->aa_log aa_register_case aa_register_case (public) aa_register_case->aa_log acs::test::form_reply acs::test::form_reply (public) acs::test::form_reply->aa_log acs::test::http acs::test::http (public) acs::test::http->aa_log

Testcases:
webtest_example
Source code:
    set log_notes [join $args " "]
    #
    # When aa_run_quietly_p exists, we run inside the testing
    # environment.
    #
    if {[info exists ::aa_run_quietly_p]} {
        if {$::aa_run_quietly_p} {
            return
        }
        aa_log_result "log" "[aa_indent$log_notes"
    } else {
        #
        # Use plain ns_log reporting
        #
        ns_log notice "aa_log: $log_notes"
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: