Class DefaultBraceStyleMessageParser


  • public class DefaultBraceStyleMessageParser
    extends BraceStyleMessageParser
    Default implementation of the brace style message parser. Note that while the underlying parsing mechanism supports the more general "{n,xxx}" form for brace format style logging, the default message parser is currently limited to simple indexed place holders (e.g. "{0}"). This class could easily be extended to support these trailing format specifiers.

    Note also that the implicit place holder syntax used by Log4J (i.e. "{}") is not currently supported, however this may change. Currently an unescaped "{}" term in a log message will cause a parse error, so adding support for it should not be an issue.

    See Also:
    Original Java code of Google Flogger