Pass logger down to user code