Added log helper.
Added docs.