Class IndentUtil

java.lang.Object
org.hawaiiframework.logging.util.IndentUtil

public final class IndentUtil extends Object
LogUtil to indent data.
Since:
2.0.0
  • Field Details

    • DEFAULT_INDENTATION

      public static final String DEFAULT_INDENTATION
      The default indent to use if none specified.
      See Also:
  • Method Details

    • indent

      public static String indent(String value)
      Indent the value with the default indent. See DEFAULT_INDENTATION.
      Parameters:
      value - The value to indent.
      Returns:
      An indented string.
    • indent

      public static String indent(String value, String indentation)
      Indent the value with the given indent.
      Parameters:
      value - The value to indent.
      indentation - The indentation.
      Returns:
      An indented string.