From 5c330a59e21a44796bc5285eff179a3903d1a792 Mon Sep 17 00:00:00 2001 From: Dan Bornstein Date: Fri, 22 Nov 2024 11:47:34 -0800 Subject: [PATCH] Changelog. --- CHANGELOG.md | 9 +++++++-- src/host/export/ProductInfo.js | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1accb1eb0..f9d2d4008 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,8 +17,13 @@ Other notable changes: * general: * Allow node version 23. * `loggy-intf` / `loggy`: - * Made several improvements to "human" (non-JSON) log rendering, including - fixing it to be able to log values with reference cycles. + * Improved the data model used to encode logged items, including: + * Representing functions and classes as structured objects instead of just + strings. + * Making it possible to encode values with reference cycles. + * Improved "human" (non-JSON) log rendering, including: + * Correctly rendering shared references. + * Tweaking the styling for readability. * `structy`: * Started allowing any object (plain or not) to be used as the argument to the `BaseStruct` constructor. diff --git a/src/host/export/ProductInfo.js b/src/host/export/ProductInfo.js index d6444e27a..ae392e8d2 100644 --- a/src/host/export/ProductInfo.js +++ b/src/host/export/ProductInfo.js @@ -50,6 +50,7 @@ export class ProductInfo { static init() { this.#extractInfo(); ThisModule.logger?.productInfo(this.#info); + ThisModule.logger?.HELLO_THERE({ abc: 'boop', 'cd-ef': 'floop', 97: 'zoop', [-123]: 'doop' }); } /**