I believe that you just want to puts to stderr or stdout, and that
should suffice. The log::log command is actually part of the plugin
master interp's codebase.
Jeff
I've tried puts with both stdout and stderr which resulted in an error
saying "can not find channel named 'stdout'" (or stderr whichever the
case may be).
I guess I need to updated the docs (as well as my memory). What you
need to do is 'package require pluglog' in your tclet and use
'pluglog::log'. It was renamed in order to not conflict with tcllib's
log module.
Jeff
package require pluglog
button .btn -text test -command {pluglog::log front.tcl "Log test"
WARNING}
pack .btn
Once it was running, I opened the log window and cleared the log. Then
I pressed the tclet test button. There was no responce in the log
window. Any ideas why there was no logging?