ppx rewriter that defines extension nodes for logging
