Add sanitize option to log module. Closes #191.
Same as #346 from @protomouse but without Boost requirement. Closes #346.