Table of Contents

Class: DebugTracer ../HappyDoc-r2_1/happydoclib/trace.py
Methods   
__init__
callerParent
checkOutputLevel
getIndent
into
outof
popLevel
pushLevel
setVerbosity
write
writeVar
  __init__ 
__init__ (
        self,
        outputStream=sys.stdout,
        indentBy='  ',
        maxOutputLevel=1,
        startLevel=0,
        )

  callerParent 
callerParent ( self,  outputLevel=1 )

  checkOutputLevel 
checkOutputLevel ( self,  outputLevel )

  getIndent 
getIndent ( self )

  into 
into (
        self,
        className,
        functionName,
        outputLevel=1,
        **params,
        )

Enter a new debug trace level.

Parameters

className
Name of the class.
functionName
The name of the function/method.
outputLevel=1
The debug level where this message should be printed.
**params
Parameters sent to the function.
  outof 
outof (
        self,
        returnValue=None,
        outputLevel=1,
        )

Exit the current debug trace level.

Parameters

returnValue
Optional argument indicating the value returned from the function.
  popLevel 
popLevel ( self )

  pushLevel 
pushLevel ( self,  newStackTop )

  setVerbosity 
setVerbosity ( self,  level )

  write 
write (
        self,
        message,
        indent=1,
        outputLevel=1,
        **vars,
        )

  writeVar 
writeVar (
        self,
        outputLevel=1,
        **variables,
        )


Table of Contents

This document was automatically generated on Sat Aug 24 16:57:23 2002 by HappyDoc version 2.1