If you use Tcl to write Embedded Event Manager policies, you could use the action_syslog command to generate syslog messages. In all other Tcl-based environments (including tclsh), this API is not available, but you could use the syslog: file system to generate debugging messages.
Read more in the CT3 wiki article Generating Syslog messages from Tclsh.
The article is part of Tclsh on Cisco IOS tutorial.

Many versions of IOS also support the 'send log' command which you can use to generate syslog messages.
ReplyDelete