Add 'Log' interface and add an api runner example.