Command-line logging made easy