Allow to pass custom logger