Add output to code example in logging doc