Hook up log_line API. Docs. Tests.