Print out the goroutine id (#3433)

The TXT logger prints out the actual go routine ID

This feature depends on 'loggoroutine' build tag

```go build -tags loggoroutine```
This commit is contained in:
Zoltan Papp
2025-03-07 14:06:47 +01:00
committed by GitHub
parent 4b76d93cec
commit 53b9a2002f
22 changed files with 236 additions and 131 deletions

6
formatter/hook/keys.go Normal file
View File

@@ -0,0 +1,6 @@
package hook
const (
EntryKeySource = "source"
EntryKeyGoroutineID = "goroutine_id"
)