It would be nice to keep our all of our debugging log statements around and have a way to disable them when we're not testing a specific feature.
I think a library like LogLevel would work best. Its very light weight, works in the browser, and lets us create multiple loggers for different parts of the codebase, each of which can have their own logging levels.
It would be nice to keep our all of our debugging log statements around and have a way to disable them when we're not testing a specific feature.
I think a library like LogLevel would work best. Its very light weight, works in the browser, and lets us create multiple loggers for different parts of the codebase, each of which can have their own logging levels.