You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e37725a
Browse filesBrowse the repository at this point in the historyBrowse files
The default formatter rendered every non-string value with
JSON.stringify, so a nested object printed as one long line and a
multi-line string inside it, such as pino's err.stack or a slog group
holding SQL, lost its line breaks.
A nested object now prints as indented key: value lines, one level
deeper at each depth, and an array of objects as YAML-style "- " items.
Scalars, empty objects and arrays, and arrays of plain values stay
inline. Multi-line strings at any depth keep their line breaks, aligned
under their value. Only recognized JSON logs reach this code, so plain
text output is unchanged.
The logging guide shows a nested error example and leads with logging
JSON in every environment; the home page's terminal UI card and the
README mention JSON log formatting. Changelog entry for 0.11.1.
Copy file name to clipboardExpand all lines: docs/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ features:
56
56
link: /config/config-file
57
57
- icon: 🖥️
58
58
title: A terminal UI you'll keep open
59
-
details: "One combined, filterable log, with each service's state and memory in the footer. Drive it with the keyboard or the mouse: click a service, a key hint or a script, and drag to copy."
59
+
details: "One combined, filterable log, JSON logs formatted for reading, and each service's state and memory in the footer. Drive it with the keyboard or the mouse: click a service, a key hint or a script, and drag to copy."
0 commit comments