Created
March 22, 2017 07:58
-
-
Save k1r0s/5b57aff684d14471b692a8fe50f12bc8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Advices = require("kaop").Advices; | |
Advices.add( | |
function log(){ | |
//meta.args contains the arguments {array} | |
console.log(meta.methodName + " called"); | |
console.log("with arguments: " + meta.args); | |
console.log("returned: " + meta.result); | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment