Added in an logger= method