develop simple logger