added a simple logger (writes to stdout)