pretty-debug

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

Dette er versioner af dette script, hvor koden er blevet opdateret. Vis alle versioner.

  • v1.2.1 05.06.2026

    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 05.06.2026

    Implement table method for Debug channel

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

  • v1.1.1 05.06.2026

    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 21.05.2026

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

  • v1.0.7 21.05.2026

    Expose the [tag] string in a public method.

  • v1.0.6 20.05.2026

    Bump version to 1.0.6

  • v1.0.5 20.05.2026

    Refactor styles to fix some more clipping issues.

  • v1.0.5 20.05.2026

    Bump version to 1.0.5 and refine styles

    Updated version number and adjusted style properties for better layout.

  • v1.0.4 19.05.2026

    Bump version to 1.0.4 and enhance style validation

  • v1.0.3 19.05.2026

    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 19.05.2026

    Bump version to 1.0.2 and enhance styles

    Updated version to 1.0.2 and modified styles and message prefixes.

  • v1.0.1 19.05.2026

    Update styles and version in debug.js

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

  • v1.0.0 19.05.2026