You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2020. It is now read-only.
I'm a newcomer to pine, and I think the README should be updated with examples of how to use the file transport, and how to use pine within kraken, because apparently if you just try to replace the default "logger" middleware it doesn't work.
EDIT: If you try to use libs or index as middleware it doesn't work, if you try to do app.use() it says it requires middleware functions. Maybe it's not made to be used as a middleware? If that's the case, do you think we could work out together a plan to make it usable as a middleware? Because I think it fits the use as a middleware...
Also side question, if it's supposed to be used a middleware, how to use it inside a router ?
Hi,
I'm a newcomer to pine, and I think the README should be updated with examples of how to use the file transport, and how to use pine within kraken, because apparently if you just try to replace the default "logger" middleware it doesn't work.
EDIT: If you try to use libs or index as middleware it doesn't work, if you try to do app.use() it says it requires middleware functions. Maybe it's not made to be used as a middleware? If that's the case, do you think we could work out together a plan to make it usable as a middleware? Because I think it fits the use as a middleware...
Also side question, if it's supposed to be used a middleware, how to use it inside a router ?
Thank you !