warren830 commented on code in PR #2169:
URL: https://github.com/apache/incubator-devlake/pull/2169#discussion_r895282296


##########
api/api.go:
##########
@@ -45,7 +46,7 @@ func CreateApiService() {
 
        //endpoint debug log
        gin.DebugPrintRouteFunc = func(httpMethod, absolutePath, handlerName 
string, nuHandlers int) {
-               log.Printf("endpoint %v %v %v %v\n", httpMethod, absolutePath, 
handlerName, nuHandlers)
+               logger.Global.Printf("endpoint %v %v %v %v", httpMethod, 
absolutePath, handlerName, nuHandlers)

Review Comment:
   This is strange, why do we need to delete `\n`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to