enoex/Bragi-Browser — pull request #6 by glenswift (2014-10-28 21:47:47+00:00)
Title: Added support for warn, info, error merthods in general and provided their implementation in Console Transport

Okey, I use bragi for some time and it helps me a lot when I need to divide big console output into smaller groups. But when there are a lot of groups it is hard to quickly catch a glimpse of extremely important logs like errors or warnings. Again, there is no way to create error message in group another than `error` that is not logical enough as for me.

So, I added methods `warn`, `info`, `error` to `BRAZI` (aka `console.warn`, `console.info`, `console.error`) that added familiar icons for everyone (like [this][1]). If given transport has not one of them it will use default `log`.

Pls, note that this changes can broke your tests. The point is I can not run them `npm test` does nothing for me.

[1]: https://developer.chrome.com/devtools/docs/console-files/log-warn.png