removed datalogger.* and changes char* to const char* in log method