Fixed substitution arg order to match format format string in logExceptions decorator. Also fixed it to log any exception, not just those that are based on Exception.
Incoroprated Scott's PR feedback for changes in logExceptions decorator, fixed bug, and implemented unit tests for it.
Merge branch 'master' into logexception
Merge pull request #315 from vitaly-krugl/logexception

Fixed substitution arg order to match format format string in logExcepti...