[doc] update readme w/new init api (custom z)
[log] replace tmplog by std::cout