Class LogContextTree

    • Field Detail

      • ATTRIB_DESC

        public static final String ATTRIB_DESC
        Name of Spring web flow attribute holding the description of the tree to log.
        See Also:
        Constant Field Values
      • log

        private org.slf4j.Logger log
        Logger.
      • description

        private String description
        Contextual description to output at the start of the action.
    • Constructor Detail

      • LogContextTree

        public LogContextTree()
    • Method Detail

      • setDescription

        public void setDescription​(@Nullable
                                   String value)
        Set the contextual description to output at the start of the action.
        Parameters:
        value - the description value
      • logContext

        private void logContext​(BaseContext current,
                                int indent)
        Recursively log the context tree.
        Parameters:
        current - the current context to log
        indent - the amount of leading indent
      • getIndent

        private String getIndent​(int indent)
        Generate the leading indent string to print.
        Parameters:
        indent - the amount of the indent
        Returns:
        the leading indent string to print