Xemplar Insights interview question

How to handle logging functionality.