util_report_library_entry (public, deprecated)

 util_report_library_entry [ extra_message ]

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

Deprecated. Invoking this procedure generates a warning.

Should be called at beginning of private Tcl library files so that it is easy to see in the error log whether or not private Tcl library files contain errors. DEPRECATED: this proc is a leftover from the past, OpenACS does inform about libraries being loaded in the logfile. If one needs a special statement for debugging purposes, a custom ns_log oneliner will do.

Parameters:
extra_message (optional)
See Also:
  • ns_log

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) util_report_library_entry util_report_library_entry util_report_library_entry->ad_log_deprecated

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc util_report_library_entry
    set tentative_path [info script]
    regsub -all -- {/\./} $tentative_path {/} scrubbed_path
    if { $extra_message eq ""  } {
        set message "Loading $scrubbed_path"
    } else {
        set message "Loading $scrubbed_path$extra_message"
    }
    ns_log Notice $message
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/utilities-procs.xql

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