Skip to content
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: function (req, res) as nolog option #1278

Closed
eyoboue opened this issue Jul 3, 2022 · 0 comments · Fixed by #1279
Closed

Feature: function (req, res) as nolog option #1278

eyoboue opened this issue Jul 3, 2022 · 0 comments · Fixed by #1279
Labels
enhancement New feature or request
Milestone

Comments

@eyoboue
Copy link
Contributor

eyoboue commented Jul 3, 2022

So we can use as example:

log4js.connectLogger(logger, { nolog: (req, res) => res.statusCode >= 400 });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants