MessageHandler
index
/home/graeme/CVS/dna/expertise/python/graeme/Expert/MessageHandler.py

# MessageHandler.py
# Maintained by G.Winter
# A staging point for messages coming from the Scheduler and going to the 
# expert system.
# 21st January 2004

# A part of the second generation scheduler. This is all based around the 
# thread safe Queue class in Python - which requires threads to have been 
# compiled in. Note that the flushing could be messy... depends on how thread
# safe the Python *language* is. :o)
# $Id: MessageHandler.html,v 1.1 2004/10/01 12:15:56 gwin Exp $

 
Modules
       
Queue

 
Functions
       
debug(message)
Record a message in the debug log
error(message)
Record a message in the error log
flush_debug()
Empty the debug log
flush_error()
Empty the error log
flush_log()
Empty the log
get_debug()
Get a list of all of the recent debugging messages
get_error()
Get a list of all of the recent errorging messages
get_log()
Get a list of all of the things in the log
log(message)
Record a message in the log