[CHANGE] basic logging hook example; [ADD] helpers