set your own logger