A very simple logging mechanism