Added log.cpp amd log.h