Exception logger
Better looking code.
Most clear exception message.
Merge pull request #21 from volkoinen/master

Method to log exceptions