Added ability to set custom Logger