Pass logger in client construction