Added logging levels to log class