add construction interface for persist raft log