Class SystemPropertyPattern

    • Method Detail

      • from

        @Nonnull
        public static SystemPropertyPattern from​(String patternSegment)
        Parameters:
        patternSegment - text patternSegment to convert
        Returns:
        converted patternSegment object
      • render

        public void render​(LogEvent logEvent,
                           StringBuilder target)
        Description copied from interface: LogPattern
        Extracts the content of particular interest to this log pattern instance from the specified log event, and appends the result to the specified target aggregator of the final log message
        Specified by:
        render in interface LogPattern
        Parameters:
        logEvent - entire log content data source to render
        target - logging text aggregator of the final log message
      • includeCallerDetail

        public boolean includeCallerDetail()
        Specified by:
        includeCallerDetail in interface PerformanceSensitive
        Returns:
        true if log should include caller detail such as method, line number...
      • includeCallerThread

        public boolean includeCallerThread()
        Specified by:
        includeCallerThread in interface PerformanceSensitive
        Returns:
        true if log should include call thread information such thread name and id