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 fd [nsv_get boomerang:logfiles $filename]
#
# Submit one UTF-8 JSON line without log sanitizing, which would
# alter the serialized JSON. Disk writes run in the log writer.
#
ns_asynclogfile write -sanitize 0 $fd "$content\n"
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: