Class PatternParser.LiteralPatternConverter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String convert​(LoggingEvent event)
      Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
      void format​(java.lang.StringBuffer sbuf, LoggingEvent event)
      A template method for formatting in a converter specific way.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • literal

        private java.lang.String literal
    • Constructor Detail

      • LiteralPatternConverter

        LiteralPatternConverter​(java.lang.String value)
    • Method Detail

      • convert

        public java.lang.String convert​(LoggingEvent event)
        Description copied from class: PatternConverter
        Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
        Specified by:
        convert in class PatternConverter