Added logger support.