4 namespace eval excentis {
13 namespace eval ByteBlower {
17 package require excentis_basic
24 set LOG_LEVELS [ list "ERROR" "WARNING" "INFO" ]
26 proc x.Print.Debug { args } {
27 if { [ lsearch $::excentis::ByteBlower::LOG_LEVELS "DEBUG" ] != -1} {
28 if { [ llength ${args} ] > 1} {
29 set channel [
lindex $args 0 ]
30 set msg [
lrange $args 1 end ]
33 set msg [
lindex $args 0 ]
36 puts ${channel} "\[DEBUG\] $msg"