/logtool

Tool to assist logging in TCL scripts

Primary LanguageTclBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

LOGTOOL:

Tool to assist logging

Initially we must load the package:
package require logtool 1.0

How to use:
logtool:log_mes < message > < name of the process you called > < tag (optional) > < log file (optional)>

Ex:

#!/usr/bin/env tclsh

package require logtool 1.0

logtool:log_mes "log example" "exemple.tcl" "ERRO" /var/log/syslog