A simple block logging API.