S&T interview question

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