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.
max size just dictates when the logs are rolled over to a new file. the older data is not deleted