Skip to content

3.1.0: Grouped output; dotted prefixes

Choose a tag to compare

@CVE42-chicken CVE42-chicken released this 10 Apr 14:59
· 7 commits to main since this release
e218943

Grouped output

Log with prefixes in a collapsible group header (where supported) and the actual log message inside the indented group:

debug.configure(null, { grouped: true });

Dotted prefixes

Instead of surrounding each prefix particle with square brackets, put dots between them:

debug.configure(null, { dotted: true });

The two new options can be combined:

debug.configure({ /* ...config object...*/ }, { grouped: true, dotted: true });
  • chore: fix release-it config (22da0e9)
  • feat: Grouped output, dotted prefixes (991eb9c)
  • test: Replace mocha w/ vitest (7772223)
  • chore: Add eslint; modernize setup (eab6f3d)