Added a bit of comments to the logger class