Remove dependency between StreamLogger and StringTools.