add liblog sample