Add a utility to capture messages to log.
Merge pull request #12 from Connexions/log-messages

Add a utility to capture messages to log.