Use logging library instead of console.log

Is there any case for exposing log publicly here too, for debugging, or should that just be covered by passing a log level?