voorhoede / fastatic

Speed up your static site with one command
MIT License
21 stars 3 forks source link

Define loglevel once #98

Closed petergoes closed 8 years ago

petergoes commented 8 years ago

When the loglevel is defined, it is used throughout all the modules. There is no need to pass the loglevel on every instance of logger.

As a bonus, the logs generated by logger.error and logger.warn have a cleaner output via the spread functionality

96