Adding console logger levels - debug, warn and error.

These outputs work under firefox and chrome bringing extra information and usual visual effect.