allow setting logger