Sample logger wrapper framework