-
U. Artie Eoff authored
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 <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@intel.com>
a376b8e2