Add ability to pass own logger to application