Releases: jumpcutking/console
v1.7.4
v1.7.3
User is warned when console is not initialized (or attached to node:console).
Fixed .from, all console entries will now generate a from.
Updated NPM Publishing (provenance changed since last update)
Updated Package.JSON
v1.7.0
- Added improved undefined object handling when passing objects to console.function("String", $obj).
Rewritten: I've asked ChatGPT 4o to help me rewrite the README.md file for the @jumpcutking/console module. It's based on the one I've written and provides a deep indepth view of the code. If you have any questions, or prefer the older style, please let me know. Thank you!
v1.6.0
Another round of bug fixes. jckConsole.TruncateTopLevel is a way to report object properties that are top level. This is useful for reporting objects that are too large to report. Arrays and attached objects will not be removed when using this option. It's safe and not object destructive.
1.5.0
jckConsole now provides generateSafeError and will automatically generate a safe communicatable error object. While JCKConsole doesn't override your error objects, it will convert error objects passed into it. I added a string variable to match the original stack trace item for easier debugging. Clicking on the line and column in VSCode's console will go to that line and column, making it easy to debug and develop.
v1.2.0
jckConsole is happy to help developers know where a log entry has occurred. It's a new object, and It identifies the caller, the file, the line, and the column of the call.
This update is a breaking change to entry and log callbacks. A new "from" object will be passed to every one of the log callbacks. It will look very similar to a parsedStackTrace() line item.
This update also includes other bug fixes.
v.1.1.0
Minor bug fixes, including a fix for the stacktrace object.
v1.0.0
This release includes fixes for objects passed into the console. To debug your console event handlers, create a private console attachment and use it to debug your code; otherwise, you will receive a maximum call stack error (caused by recursion).
/**
* A fresh instance of the console object.
* This keeps a reference to the console without
* any loopbacks during global replacement.
* @type {Object} The console object.
* @see {@link https://nodejs.org/api/console.html} for more information.
*/
var myConsole = Console({ stdout: process.stdout, stderr: process.stderr }); v0.8.1
Publishing for provenance.