OzFramework / oz

Oz is a behavioral web-ui testing framework developed to reduce test maintenance by using a predictive model rather than a scriptive model when writing tests.
Apache License 2.0
23 stars 7 forks source link

Implement 'default' terminal color in logs #63

Closed McAllaster closed 6 years ago

McAllaster commented 6 years ago

Adding a default terminal font color class extension for the string class. This allows messages to specify the default terminal font color inside of the Oz Logger.

Previously, we were hard-coding certain messages as black, which caused an unsatisfactory output for users with dark-colored terminal themes.

Further investigation/development is needed for user-defined themes. However, this should be a good intermediary step allowing for both light and dark themed terminals to display the messages in their intended color priority.