Logs and JSON

A log opens at its first error with its repeats folded, and JSON reads in color, named by its own fields.

Wrap it and send it

Put a log in a Markdown code block labeled log, and send it as it is. The end of a long one is usually enough.
Terminal
{ echo '```log'; tail -n 200 deploy.log; echo '```'; } \
  | ripple send --markdown --title "Deploy failed"

Opened at the first error

The console opens three lines above the first error, with errors in red and warnings in yellow. Previous and Next step through the rest.

Five or more lines in a row that differ only in their numbers, such as retries, fold to their first and last. Errors never fold.

JSON, named by its own fields

Send a payload as the body, and Ripple names it by its own title, summary, or message, and says what it holds in words in the list.

Each kind of value has its own color, and long lists fold. Click a value to copy it, or Shift-click to copy where it sits.

  • Copy log

    Copies the log exactly as it was sent.

  • Wrap lines

    Long lines scroll sideways, or wrap with one click.

  • Terminal output, tidied

    Color codes are cleared, and a progress bar keeps its last state.

  • Diffs in color

    A diff or patch block shows added and removed lines in green and red.

  • Copy JSON

    Copies the payload as it arrived, every key in its order.

  • Room for big payloads

    Up to 4,000 values, nested up to 64 levels deep.