Logger elem printing

- Don't blow up if `elem` doesn't have `tagName`. (i.e. `{ el: document }`)
- print the `className` if no `id`