$log and $action-log in use

Elsewhere, @jeremyruston uses the following construct (edited) :

<$action-log message="In macro-name"/>
<$action-log/>

I use $log and $action-log in an almost identical manner (identifying the call-site). In my case, I have two macros, log and action-log, both taking a string targeting $$message (usually the call-site/macro) and both always printing common vars (currentTiddler, transclusion, etc) followed by $$all=yes.

I’m curious about the construct. Why/how does that benefit you, Jeremy?

I’m not completely sure what you’re asking. I always forget about the $$all=yes option, if that’s what you mean?

No biggy. I was just curious, mostly about lack of $$all as you thought, and, similar, lack of $$message (which would remove “debug” and give you the call-site identifier you’re looking for). I thought I might be missing something :blush: