Files
sea/tcl/startup/commandlog.tcl
2022-08-18 15:04:28 +02:00

13 lines
237 B
Tcl

if {[sicsdescriptor commandlog] eq "notfound"} {
proc commandlog {{cmd tail} {n 50}} {
if {$cmd eq "tail"} {
loglisten tail $n
} else {
error "'commandlog $cmd' not supported"
}
}
publishLazy commandlog
}