boomerang::handler proc log_to_file (protected)

 boomerang::handler[i] log_to_file [ -content content ] \
    [ -filename filename ]

Defined in packages/xotcl-core/tcl/01-debug-procs.tcl

Switches:
-content (optional)
-filename (optional)

Testcases:
No testcase defined.
Source code:
set logdir [file dirname [file rootname [ns_config ns/parameters ServerLog]]]
set F [open $logdir/$filename a]
try {
    puts $F $content
} finally {
    close $F
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: