Changed NewLogger to New