Change signature for logger.

Custom logger now accepts only one argument (just like stdlib-logger)