must coerce log input into a string