simple logger implemented