@marblejs/middleware-logger extend filter options
See original GitHub issueIs there any way to use the filter
of the marblejs/middleware-logger
to filter specific routes?
I have some frequently called routes which I do not want to see in the log.
I know I can just use some grep
to filter them, but it would be nice to filter it with the filter
option of the marblejs/middleware-logger
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
@marblejs/middleware-logger - marble.js
Simple middleware for request logging inside your console. It displays the outgoing request events using the following format:.
Read more >@marblejs/middleware-logger - npm
A logger middleware for Marble.js. Installation. $ npm i @marblejs/middleware-logger. Requires @marblejs/core to be installed.
Read more >marble-website-starter/yarn.lock at master · ndlib/marble-website ...
Yarn workspace for the Gatsby Theme and Starter for the Marble project. ... resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware- ...
Read more >4 Filtering WebLogic Server Log Messages - Oracle Help Center
A filter is a class that compares data in the WLLogRecord object with a set of criteria. The Logger object publishes only the...
Read more >redux-observable/redux-observable - Gitter
ignoreElements() or just return an action that is just for logging ... /src/createEpicMiddleware.js#L31-L33, checking if options.dependencies is a function, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Version 2.1.0 has just been released. As described above, you will be able to filter not only by
response
but also byrequest
. If there will be something missing I’ll reopen this issue.Thanks! 💪
@knopki Hah, you are right. I was confused by the API which I authored 🤦♂️.
@SORC3r3r I’ll add also support for filtering incoming requests in the upcoming
v2.1
release.I think that the end API will look like this:
So the signature will look like this: