Meta interview question

design log system for products