Consola Versions Save

🐨 Elegant Console Logger for Node.js and Browser

v2.7.0

5 years ago

DX Improvements

Browser reporter

The initial version of browser reporter was not fancier enough. Now it is! We also hide the time so the output is less verbose:

image

image

Basic reporter

The basic reporter is often used in CI environments when they append log time themselves. Thus we now omit time. Also ordering is changed for more readability:

image

Fancy reporter

When there is no space or terminal width is smaller than 80 characters, type and time will be hidden:

image

Bug Fixes

  • fancy: correctly calculate line width when using grave accent (bad52bd)

Features

  • fancy: always hide right side on width < 80 (07d8246)
  • fancy: smart hide time and tag when there is no space (00a375f)
  • basic: improve basic logs (ea6ce59)
  • basic: hide time from basic logger as it is commonly used in CI environments (68c3bae)
  • browser: fancier logs (b64f337)

v2.6.2

5 years ago

Bug Fixes

v2.6.1

5 years ago

Bug Fixes

  • browser: use console.warn when possible (#49) (e386ede)

v2.6.0

5 years ago

Features

  • expose constructor and reporters (3a8f662)

v2.5.8

5 years ago

Bug Fixes

  • types: allow passing extra arguments (#46) (d29fc46)

v2.5.7

5 years ago

Bug Fixes

  • formatting: fix formatting when multiple back-quotes (#44) (669a12e)

v2.5.6

5 years ago

Bug Fixes

  • ts: revert export consola ts declarations (#43) (6bd4f85)

v2.5.5

5 years ago

Bug Fixes

  • ts: export consola ts declarations (#42) (a884773) (@matchai)

v2.5.4

5 years ago
  • chore(build): Use the --no-map flag (#41) (@egoist)
  • refactor(browser): Improve export (0049c4b5f7f158644fbc864f02dc9f01ea99bbd4)
  • chore(browser): Ensure umd build is running in browser (4b22e7c6c5501caf2b20767926aa4166aec4f499)

v2.5.2

5 years ago

Bug Fixes

  • bundle std-env and entrypoint (7b0f838)