* Correct type of response in logging directive samples #21009 * Updates to signatures in the docs as well