You've already forked management-refactor
mirror of
https://github.com/netbirdio/management-refactor.git
synced 2026-05-22 17:12:59 -07:00
13 lines
207 B
Go
13 lines
207 B
Go
//go:build loggoroutine
|
|
|
|
package hook
|
|
|
|
import (
|
|
"github.com/petermattis/goid"
|
|
log "github.com/sirupsen/logrus"
|
|
)
|
|
|
|
func additionalEntries(entry *log.Entry) {
|
|
entry.Data[EntryKeyGoroutineID] = goid.Get()
|
|
}
|