SMF icon indicating copy to clipboard operation
SMF copied to clipboard

Integrated instances are logged in debug but not printed

Open live627 opened this issue 11 months ago • 1 comments

https://github.com/SimpleMachines/SMF/blob/5a0150e3f6216ea32295406b095fbff57df99141/Sources/Utils.php#L2487-L2492

What should be done here? Remove this code or print class names?

Tagging @MissAllSunday

live627 avatar Dec 31 '24 00:12 live627

I remember for 2.1 it made sense to print out instances because very few mod authors will actually be using them (I don't have specifics but I believe the number of mods using instances, not static calls, is still small).

But even if the number of mods using instances increases, it makes sense to have that info while debugging, perhaps we could expand that a little bit by also including static calls and plain functions as well.

MissAllSunday avatar Jan 03 '25 19:01 MissAllSunday