You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/06/13 03:25:21 UTC
[GitHub] [incubator-devlake] SnowMoon-Dev commented on a diff in pull request #2169: [Improvement][Api EndPoint Debug Log]Added better debug log format display
SnowMoon-Dev commented on code in PR #2169:
URL: https://github.com/apache/incubator-devlake/pull/2169#discussion_r895298797
##########
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:
Look at the screenshot, it has line feed
--
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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org