making logging objects and exceptions prettier