Home | Trees | Indices | Help |
---|
|
A 'Tracer' outputs trace messages useful for debugging.
|
|||
|
|||
|
|||
|
|||
|
|
|||
prefix =
The prefix for an environment variable that indicates a threshold for a particular trace category. |
|
Construct a new 'Tracer'. 'file' -- The file object to which output should be written. |
Output a trace message. 'message' -- A string giving the contents of the message. The message should begin with a capital letter and end with a period. 'category' -- A string indicating the category to which this message belongs. 'level' -- A non-negative integer indicating the level at which the message should be output. Every category has an associated threshold. If the level of the 'message' is less than the threshold, the mesage will be output. |
Return the current threshold for 'category'. 'category' -- A string giving a trace category. returns -- The threshold associated with 'category'. If no threshold has been set, the threshold is considered to be zero. |
Set the threshold associated with 'category'. 'category' --A string giving a trace category. 'level' -- A non-negative integer indicating the threshold level for 'category'. |
|
prefixThe prefix for an environment variable that indicates a threshold for a particular trace category. The string following the prefix gives the name of the trace category. If the environment variable has no associated level, the associated level is one. Otherwise, the associated level is given by the value of the environment variable.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:42 2011 | http://epydoc.sourceforge.net |