We love logs because it helps us to debug during development. We also need a quick way to enable / disable logs because it’s not necessary for everybody :
- you maybe want logs during the development of your module
- people who will use it don’t necessary want to watch it
When testing a module and building a distribution, you maybe don’t want to inject dirt in your tests output. In the case of debuging, I think it’s a good thing to write it to a file and tail on it.