fix rebuild problem

add a line: #include <time.h> in logger.hpp

replace uint to uint32_t