You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Logging broken when first argument is an element #2145
Instead of using the first (and in this case desired version) the compiler uses the second version of trace as the first parameter after the message is an Element adn so it is not usedas replacement for the {} the log message but the message (without a valuefor {}) is attached to the element.
I think we should review all places where we use these logs and possibly even refactor the logger to avoid similar issues. maybe move the element in front of the string parameter?
trace is only called twice. both times it is not intended to attach the message to the element. I'll remove that 3-arg version of trace at it imho makes no sense to have it (can we actually have trace messages on elements?!)
Activity
dodgex commentedon Jun 10, 2018
traceis only called twice. both times it is not intended to attach the message to the element. I'll remove that 3-arg version of trace at it imho makes no sense to have it (can we actually have trace messages on elements?!)dodgex commentedon Jun 10, 2018
same for
debugdodgex commentedon Jun 10, 2018
aaaaaaaand
info