add LogIDHolder utility class

add LogIDHolder utility class to easy get current log id from rpc server