Added logging interface.