Added log and exception log functionality. Added exception loggin in error catching.
Merge pull request #2 from JBleijenberg/feature/add-log-functionality

Added log and exception log functionality. Added exception loggin in err...