Add sanitize option to log module

Adds an optional `-sanitize` flag to the `log` module. Currently strips control codes for styling. #191