xx_1_1_pattern_layout.html">PatternLayout</a>. Then the statements <pre>
        LoggerPtr root = Logger::getRoot();
        root-&gt;debug("Message 1");
        root-&gt;warn("Message 2");
        </pre> would yield the output <pre>
        DEBUG [main]: Message 1
        WARN  [main]: Message 2
        </pre><p>
Note that there is no explicit separator between text and conversion specifiers. The pattern parser knows when it has reached the end of a conversion specifier when it reads a conversion character