Move log_* methods to a LoggerProxy class.