A simple logging tool