Documentation fixes on topics logging - add code-block and fix 3 spaces indentation

There is no ticket related.
Yes, syntax highlighting and the style used to accomplish it could be audited in the entire documentation.