logdb sample code added to playground