Added custom logger as a parameter.

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

Added custom logger as a parameter.