Advertima Interview Question

How would you implement a logger