-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Log before function #125
Comments
Hi
I don't think this API is good because it is impossible to understand whether this should be an I guess something like this would be better: {
paramsLevel: 'verbose',
logger: {
verbose: () => console.log() // Logs are passed here when decorated functions receive params, and params will be added to the payload.
}
}
|
added |
🎉 This issue has been resolved in version 1.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Please follow the general troubleshooting steps first:
Describe the solution you'd like
I would actually like two features:
So that @log could record both before and after the function is executed
Edit
And additionally, I have cloned the repository and made a small fix to two issues, if possible, I'd like to push a branch and make a pull request
Example:
Thank you :)
The text was updated successfully, but these errors were encountered: