Simple logger class. Debug, info, warning, error messages with timestamp and history support.