▲ | privatelypublic 13 hours ago | |||||||
Not sure that's possible with JS. | ||||||||
▲ | cj 11 hours ago | parent [-] | |||||||
You could theoretically overwrite the public functions of a module, inject some logging code, then execute the originally intended function when it's called with ".apply()" and passing the original arguments in. That might get you part of the way there. | ||||||||
|