Added logger support and usage