A simple but versatile logging framework