An event based logger for CLI applications