MacPorts Base: Support for a lower level of debug output, like ui_trace, or ui_debug2/ui_debug3?
Christopher Nielsen
mascguy at rochester.rr.com
Tue Jun 1 11:23:55 UTC 2021
Amusingly enough, I figured out the missing pieces, within 5 minutes of sending this out.
Net-Net, the PR is now at a fully-functioning state - albeit with some cleanup work left to do - but is otherwise ready for review/comment.
Thoughts/feedback welcome, for anyone who’s interested in taking a gander.
> On 2021-05-31-M, at 08:32, Christopher Nielsen <mascguy at rochester.rr.com> wrote:
>
> To help ensure we’re all on the same page, I’ve gone ahead and implemented the new functionality via the following PR:
>
> Base: add lower-level debug output, via new levels debug1-3:
> https://github.com/macports/macports-base/pull/243
>
> It’s very close to working; all that’s left is to export the new ui_debugX calls to the TCL realm. And if anyone’s willing to share the secret to the latter, I’d appreciate it, as I’m still scratching my head on that one. (Normally I’d expect that we’d use ‘Tcl_CreateObjCommand’, but that’s not being done - or I missed where it’s being done - for the existing ‘ui_xxx’ logging procedures.)
More information about the macports-dev
mailing list