Added logger as an argument.

See https://github.com/nearform/nscale-kernel/pull/8.
Merge pull request #1 from nearform/logging

Added logger as an argument.