Issue #18541: simplified LoggerAdapter example.