File 'base/syslog.tcl' (part of 'Pool_Base')
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
::pool::syslog::2color (level)
|
Argument: level
|
The level to convert into a color.
|
Returns: The color associated to the given level
|
::pool::syslog::Log2Stderr (level text)
|
|
Argument: level
|
Log level of message given.
|
Argument: text
|
Message to log
|
::pool::syslog::def (putsCmd)
|
|
Argument: putsCmd
|
The script evaluated by ::pool::syslog::syslog to log the incoming messages. Will be called with 2 arguments: The level and the text.
|
::pool::syslog::defLevel (level putsCmd)
|
|
Argument: level
|
The level triggering the execution of putsCmd.
|
Argument: putsCmd
|
The script evaluated by ::pool::syslog::syslog to log the incoming messages. Will be called with 2 arguments: The level and the text.
|
::pool::syslog::levelCmp (lvA lvB)
|
Argument: lvA
|
The first level to compare.
|
Argument: lvB
|
The second level to compare.
|
Returns: One of -1, 0, or 1. 0 if lvA and lvB are equal, -1 if lvA is less important than lvB and 1 else.
|
::pool::syslog::levels ()
|
Returns: Returns a list containing the names of all log-levels known to the system. The shortcuts are not returned.
|
::pool::syslog::logLevel (o v)
|
|
Argument: o
|
The name of the option to check.
|
Argument: v
|
The value to check.
|
Returns: A boolean value. True if and only if v is a level defined here.
|
::pool::syslog::setStderr ()
|
|
::pool::syslog::syslog (level args)
|
|
Argument: level
|
Relative importance of the logged message. Should be one of the strings returned by ::pool::syslog::levels.
|
Argument: args
|
list containing the texts to log.
|
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries