Skip to content
  • U. Artie Eoff's avatar
    Added a simple logging class. Updated Test::doRun to use the new log. · a376b8e2
    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: default avatarIan Romanick <ian.d.romanick@intel.com>
    Reviewed-by: default avatarChad Versace <chad.versace@intel.com>
    a376b8e2