mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
improve logging content printing for internal log (#2090)
* CI updates * fix issue in OpenAPI json marshaling of embedded struct definition; improve command gen service * improve logging content printing for internal log
This commit is contained in:
@ -100,6 +100,7 @@ func doPrint(ctx context.Context, content string, stack bool) {
|
||||
buffer.WriteString(content)
|
||||
buffer.WriteString("\n")
|
||||
if stack {
|
||||
buffer.WriteString("Caller Stack:\n")
|
||||
buffer.WriteString(gdebug.StackWithFilter([]string{stackFilterKey}))
|
||||
}
|
||||
fmt.Print(buffer.String())
|
||||
|
||||
Reference in New Issue
Block a user