Meta interview question

Build a Class for logs operation