-
Hi, Is there a simple way to log request only ? |
Beta Was this translation helpful? Give feedback.
Answered by
bilfeldt
Dec 10, 2022
Replies: 1 comment 1 reply
-
@loranger if you just want a few request to be logged like that, then you should use the conditional logger where you can specify your own class. if on the other hand you want all requests to log like that, then you can implement your own class and register that in the config |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
loranger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@loranger if you just want a few request to be logged like that, then you should use the conditional logger where you can specify your own class.
if on the other hand you want all requests to log like that, then you can implement your own class and register that in the config
logger
. You could consider making a new class that extendsBilfeldt\LaravelHttpClientLogger\HttpLogger
where it overrides thelog
method