Make sure the logger render is a string.