Can override logger functions

Defaults to console.log, can be overriden when need be.