Package mathbench :: Package lab :: Module fumehood
[hide private]

Module fumehood

source code

Define a nice way to show the messages sent to be logged.

NOTE: not used yet



Classes [hide private]
  FumeHoodLogHandler
A log handler that will display the logged messages (above a certain priprity level) in GUI windows.
Functions [hide private]
 
debug(text) source code
 
info(text) source code
 
warn(text) source code
 
critical(text) source code
 
log(text) source code
 
error(text) source code
 
log_function_call(func)
Send a message each time the decorated function is called.
source code
Variables [hide private]
  __log_handler = FumeHoodLogHandler()
  __MB_LOGGER = CreateLogger(__log_handler)
Function Details [hide private]

log_function_call(func)

source code 

Send a message each time the decorated function is called.

This nifty decorator is very usefull to trace the function calls