Closed vivek-settlemint closed 2 years ago
Yes. It depends what server you're using to process the request, but you can get whatever attributes are available in your execution context and send them to logging as components of a log object or message. This is not really specific to Winston as a logging library, so I'm closing this here and recommend making a well-formed question for Stack Overflow if you still have questions.
Is there any option to access current IP address or request object of the user?