Improved Logger utility, added documentation to it.