eavichay / showroom

Universal development and automated test environment for web components
https://showroomjs.com
Apache License 2.0
88 stars 7 forks source link

Logging improvements #12

Closed danielmcq closed 5 years ago

danielmcq commented 5 years ago

Hey, I noticed that logging wasn't exactly consistent. Sometimes console.log was being invoked directly, sometimes the built in log method. This made it so that the silent and verbose options weren't completely respected. I created a separate logger module for the server to use and made the methods consistently respect the above options. I added some text to some log messages around component files being built. Finally, I documented the configuration options that I was immediately aware of. If there are any changes you would like me to make before approving and merging this request, please let me know. Thanks for making this project. It is a practical solution to a unit testing problem I've been having!