Skip to content

Is there a way to generically log a response? #1678

Answered by uNetworkingAB
ddevienne asked this question in Q&A
Discussion options

You must be logged in to vote

Logging statistics must not add any overhead to the library for those not using logging. So if you want those statistics you have to keep them yourself as you add headers and receive body. There is no need to have the library track various statistics for those who don't want it. You can attach any user data to your response as you need.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ddevienne
Comment options

@uNetworkingAB
Comment options

Answer selected by ddevienne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants