adding support for logger handling which allows for saving the requests to a logfile, useful for production systems
realized I forgot to add the actual logger