-
I am trying to decorate both the constructor and the TL;DR: I just want to log the arguments of the constructor. Here's what I'm doing:
Any pointers on how to fix the code or a link to a Gist or test solving this same problem would be great. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Turns out that for my use-case I didn't need to decorate or replace code. Just using the
And the visitor code:
|
Beta Was this translation helpful? Give feedback.
Turns out that for my use-case I didn't need to decorate or replace code. Just using the
.visit
and theAdvice
APIs I could solve my problem: