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
IMO, any logging more specific to the block type's functionality should be left to its executor's doExecute() method.
Logging execution duration
As of now, the hooks' execution order is not sophisticated enough to log execution duration. Currently generic hooks are executed before block specific hooks in the order they are added. Considering #637, the hook logging execution duration would have to be executed after all other hooks, which cannot be guaranteed at this point.
Logging block output
This is currently handled in logBlockResult() which is already generics across block types. Changing that to a hook probably doesn't make the code more or less complex. However, once we add the ability to change/remove hooks, users would be able to replace the default logging. So output logging looks like a great use-case for a generic hook.
User Story
User Acceptance Criteria
Examples
/
Notes
Please evaluate it first if it's a good addition or not.
Definitions of Done
The text was updated successfully, but these errors were encountered: