Pergunta de entrevista da empresa S&T

How would you implement an application wide logging strategy? (by intercepting method calls via dynamic proxy)