Skip to content

v1.1.2 — Customizable Intro Line for Enhanced DX

Choose a tag to compare

@dev-rashedin dev-rashedin released this 19 Jul 12:29
· 11 commits to main since this release

✨ What's New

  • Added introLine support for custom or toggleable intro messages in console logs.

Users can now:

 - Disable the intro line by setting introLine: false

 - Customize it with their own message: introLine: 'Your custom intro'
  • Default intro line: 💥 Even the best code breaks sometimes! Let's debug...

🛠️ Example

setErrorOptions({
  introLine: false
});

// or

setErrorOptions({
  introLine: '🚨 Whoops! An error occurred'
});