Class CompoundFormatStep

    • Constructor Detail

      • CompoundFormatStep

        protected CompoundFormatStep​(FormatStep[] clonedSteps)
    • Method Detail

      • render

        public void render​(Formatter formatter,
                           StringBuilder builder,
                           ExtLogRecord record)
        Description copied from interface: FormatStep
        Render a part of the log record to the given formatter.
        Specified by:
        render in interface FormatStep
        Parameters:
        formatter - the formatter to render to
        builder - the string builder to append to
        record - the record being rendered
      • render

        public void render​(StringBuilder builder,
                           ExtLogRecord record)
        Description copied from interface: FormatStep
        Render a part of the log record.
        Specified by:
        render in interface FormatStep
        Parameters:
        builder - the string builder to append to
        record - the record being rendered
      • estimateLength

        public int estimateLength()
        Description copied from interface: FormatStep
        Emit an estimate of the length of data which this step will produce. The more accurate the estimate, the more likely the format operation will be performant.
        Specified by:
        estimateLength in interface FormatStep
        Returns:
        an estimate
      • isCallerInformationRequired

        public boolean isCallerInformationRequired()
        Description copied from interface: FormatStep
        Indicates whether or not caller information is required for this format step.
        Specified by:
        isCallerInformationRequired in interface FormatStep
        Returns:
        true if caller information is required, otherwise false
      • childSteps

        public FormatStep[] childSteps()
        Description copied from interface: FormatStep
        Get child steps that compose this step.
        Specified by:
        childSteps in interface FormatStep
        Returns:
        the child steps (not null)