doc: add doc for log.h log.cpp