迁移配置表
This commit is contained in:
1 parent
62ae866b1e
commit
a00bee14d0
882 files changed
+1639
-324485
No files matched your search
@@ -0,0 +1,16 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package logger
|
||||
|
||||
import (
|
||||
"strconv"
|
||||
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func (l *Logger) getThreadId() (threadId string) {
|
||||
tid := unix.Gettid()
|
||||
threadId = strconv.Itoa(tid)
|
||||
return threadId
|
||||
}
|
||||
Reference in new issue
Block a user