Logging

Closes #59. I'm unsure how to actually get to some of the messages to test whether certain parts log correctly. It does correctly log uncaught exceptions and HTTP requests though.
could be useful to add metadata of the event there