entry: move hook firing to entry.log
docs: add documentation for godoc