Adding custom logger argument.

Part of https://github.com/nearform/nscale-kernel/pull/8