Support custom logging