Functions | |
def | commandLineUsage |
def | DEBUG |
Prints messages adding the caller class name and the line of where the call was invoked. | |
def | DEBUG2 |
Prints messages adding the caller class name and the line of where the call was invoked. | |
def | ERROR |
Prints messages adding the caller class name and the line of where the call was invoked. | |
def | ERROR2 |
Prints messages adding the caller class name and the line of where the call was invoked. | |
def | getCallerID |
Returns a string containing informations about the function that called it at a desired level. | |
def | LAST_EXCEPTION |
def | parseCommandLine |
Sets the debugging location based on the command line arguments given. | |
def | resetDebugStream |
def | resetErrorStream |
def | resetOutputStream |
def | SAY |
Prints messages adding the caller class name and the line of where the call was invoked. | |
def | SAY2 |
Prints messages adding the caller class name and the line of where the call was invoked. | |
def | setDebug |
def | setDebugStream |
def | setErrorStream |
def | setOutputStream |
def | setSyslog |
Variables | |
string | __author__ = "Radu Stoica" |
string | __date__ = "2006" |
__dbg = sys.stdout | |
__err = sys.stderr | |
__out = sys.stdout | |
string | __private = 'test' |
string | __version__ = "1.0" |
int | _DEBUG = 1 |
int | _DEBUG = 0 |
int | _ERROR = 1 |
int | _VERBOSE = 1 |
level |
def pydim::debug::DEBUG | ( | args | ) |
def pydim::debug::DEBUG2 | ( | args | ) |
def pydim::debug::ERROR | ( | args | ) |
def pydim::debug::ERROR2 | ( | args | ) |
def pydim::debug::getCallerID | ( | level, | ||
just = 20 | ||||
) |
Returns a string containing informations about the function that called it at a desired level.
level = how many level up should the tracing of this function start.
level | How many level up should the tracing of this function start. | |
just,: | The string will be left justified with the provided input |
def pydim::debug::parseCommandLine | ( | ) |
def pydim::debug::SAY | ( | args | ) |
def pydim::debug::SAY2 | ( | args | ) |
def pydim::debug::setSyslog | ( | name = None , |
||
facility = None | ||||
) |
string __author__ = "Radu Stoica" [static] |
string __version__ = "1.0" [static] |