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
//NetHttpClientLogger defines a struct used to log specifically from the client side of API interactions using the net/http package.
12
+
//NetHttpClientLogger defines a struct used to log specifically from the client side of API interactions using the net/http package.
13
13
typeNetHttpClientLoggerstruct {
14
14
http.Client
15
15
HttpLogger*HttpLogger
16
16
}
17
17
18
-
//NewNetHttpClientLoggerOptions() takes 1 argument of type logger.Options and returns 2 objects; a pointer to an instance of an NetHttpClientLogger struct and an error.
19
-
//The NetHttpClientLogger returned by this function has the given options applied.
20
-
//If there is no error, the error value returned will be nil.
18
+
//NewNetHttpClientLoggerOptions() takes 1 argument of type logger.Options and returns 2 objects; a pointer to an instance of an NetHttpClientLogger struct and an error.
19
+
//The NetHttpClientLogger returned by this function has the given options applied.
20
+
//If there is no error, the error value returned will be nil.
// Resurface Go Logger provides tools to log API requests and responses from different Golang web frameworks to a complete API system of record. (https://resurface.io)
0 commit comments