mirror of
https://github.com/netbirdio/netbird.git
synced 2025-03-13 14:18:47 +01:00
The TXT logger prints out the actual go routine ID This feature depends on 'loggoroutine' build tag ```go build -tags loggoroutine```
10 lines
205 B
Go
10 lines
205 B
Go
//go:build !loggoroutine
|
|
|
|
package hook
|
|
|
|
import log "github.com/sirupsen/logrus"
|
|
|
|
func additionalEntries(_ *log.Entry) {
|
|
// This function is empty and is used to demonstrate the use of additional hooks.
|
|
}
|