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
Trace supports LazyLog/LazyPrintf which delays rendering of the event message until (and more importantly if) it is being displayed. This would be useful for EventLog as well, where large messages can cause noticeable slowdown.
I can work on the change if there is agreement on the new API. We can:
add LazyPrintf/LazyErrorf primitives, or
leave the current Printf/Errorf interface as is but document that the string is lazily generated.
The text was updated successfully, but these errors were encountered:
Trace supports
LazyLog
/LazyPrintf
which delays rendering of the event message until (and more importantly if) it is being displayed. This would be useful forEventLog
as well, where large messages can cause noticeable slowdown.I can work on the change if there is agreement on the new API. We can:
LazyPrintf/LazyErrorf
primitives, orPrintf/Errorf
interface as is but document that the string is lazily generated.The text was updated successfully, but these errors were encountered: