dded ability to replace console

https://github.com/pimterry/loglevel/issues/42