TestCenter Reference
Logging.py File Reference

Go to the source code of this file.

Namespaces

 TestSupport.Logging
 Package to provide logging functions.
 

Functions

def TestSupport.Logging.setStopped (stopped)
 
def TestSupport.Logging.info (message, stack=False, type='', depth=0)
 Put an info message to the log. More...
 
def TestSupport.Logging.infoHTML (message, type='', depth=0)
 Put an info message to the log while interpreting HTML. More...
 
def TestSupport.Logging.warning (message, stack=False, type='', depth=0)
 Put a warning to the log. More...
 
def TestSupport.Logging.warningHTML (message, type='', depth=0)
 Put a warning to the log while interpreting HTML. More...
 
def TestSupport.Logging.error (message, stack=False, type='', depth=0)
 Put an error to the log. More...
 
def TestSupport.Logging.errorHTML (message, type='', depth=0)
 Put an error to the log while interpreting HTML. More...
 
def TestSupport.Logging.showImage (description, *files)
 Put the ImageShow command to the log. More...
 
def TestSupport.Logging.showFile (description, *files)
 Put the FileShow command to the log. More...
 
def TestSupport.Logging.showDiff (description, fromLines, toLines, showOnlyContextOfDiff=False, numberOfContextLines=10)
 Creates a HTML diff from the two files and puts the FileShow command to the log. More...
 
def TestSupport.Logging.getStack (depth=0)
 Get the current stack. More...
 

Variables

bool TestSupport.Logging.gStopOnFirstError = False
 
bool TestSupport.Logging.gStopped = False