A Basic logger class