boomerang::handler proc log_to_file (protected)
boomerang::handler 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