Log non-objects safely.