pretty-debug

A tiny, cross-platform JavaScript debug console featuring custom color styles and automatic runtime environment tracking.

Detta är versioner av skriptet där koden uppdaterats. Visa alla versioner.

  • v1.2.1 2026-06-05

    Update version and improve table method documentation

    Updated version number and modified channel icons in the constructor. Enhanced documentation for table method parameters.

  • v1.1.1 2026-06-05

    Implement table method for Debug channel

    Add a table method to generate formatted tables in the Debug channel.

  • v1.1.1 2026-06-05

    refactor: convert static CSS strings to dynamic object getters

    Converts monolithic, hardcoded plain text CSS strings inside the configuration styles object into a dynamic, self-referential model driven by JavaScript getters. This architecture removes massive string redundancies by chaining shared baseline evaluations natively.

    Changes:

    • Replaced flat plain text CSS strings with object getters across all logger severity levels (debug, error, fatal, info, group, log, time, trace, warn).
    • Modularized the monolithic 16-point geometric text-shadow outline by breaking it out into 4 named sub-coordinate properties (rainbowBrdrCard, rainbowBrdrDiag, rainbowBrdrShal, and rainbowBrdrSteep).
    • Leveraged dynamic functional concatenation via this.common, this.b, and this.bgColor() inside the new evaluation getters.
    • Bumped project version string from 1.1.0 to 1.1.1.
  • v1.1.0 2026-05-21

    Bump version from 1.0.7 to 1.1.0 and change getters JSDoc to use @type instead of @returns

  • v1.0.7 2026-05-21

    Expose the [tag] string in a public method.

  • v1.0.6 2026-05-20

    Bump version to 1.0.6

  • v1.0.5 2026-05-20

    Refactor styles to fix some more clipping issues.

  • v1.0.5 2026-05-20

    Bump version to 1.0.5 and refine styles

    Updated version number and adjusted style properties for better layout.

  • v1.0.4 2026-05-19

    Bump version to 1.0.4 and enhance style validation

  • v1.0.3 2026-05-19

    Bump version to 1.0.3 and refactor theme methods

    Updated version number and modified color theme evaluation methods to return 'Light' or 'Dark'. Adjusted logging methods to remove prefixes for error, fatal, network, success, and warn messages.

  • v1.0.2 2026-05-19

    Bump version to 1.0.2 and enhance styles

    Updated version to 1.0.2 and modified styles and message prefixes.

  • v1.0.1 2026-05-19

    Update styles and version in debug.js

    Updated version number and modified error, info, and warn styles for better visibility.

  • v1.0.0 2026-05-19