Commit a376b8e2 authored by Committed by Ian RomanickBrowse files
Added a simple logging class. Updated Test::doRun to use the new log.
Added log.py which includes a simple Logger class that wraps some basic functions from the Python logging module. The log wrapper simplifies setup and will accommodate thread synchronization in the future. Test::doRun now uses the new log facility. NOTE: this changes the format of the 'test progress' previously printed via stdout. Added patterns.py which includes a Singleton class design pattern to support the Logger class. Future design patterns can be added to this file. Tested with Python 2.7 on Linux. All should be compatible with Windows and Mac and most earlier widely-used versions of Python. Signed-off-by: Ian Romanick <firstname.lastname@example.org> Reviewed-by: Chad Versace <email@example.com>
Showing with 140 additions and 3 deletions