bunrouter icon indicating copy to clipboard operation
bunrouter copied to clipboard

reqlog middleware

Open mybigman opened this issue 2 years ago • 4 comments

💡 The feature or bug you are proposing

[feature] reqlog middleware to be configurable

📄 The description of the bug or the logic behind your proposal

Are you able to make the logger configurable so it can include other parameters?

ip, path, referrer, agent, header etc etc

mybigman avatar Aug 24 '22 05:08 mybigman

Would like to take this up

shraddhafalane avatar Aug 25 '22 04:08 shraddhafalane

@shraddhafalane it is yours :)

vmihailenco avatar Aug 25 '22 05:08 vmihailenco

@vmihailenco could you please review the PR changes?

shraddhafalane avatar Sep 01 '22 05:09 shraddhafalane

@shraddhafalane

You have made some good progress and its appreciated.

I believe we still need more options and also to be able to configure the output format.

Take a look at the logger in fibers middleware

mybigman avatar Sep 01 '22 23:09 mybigman