Document using a Logger object instead of the `log` method from the module