Microsoft Interview Question

Minimal implementation of a logging system