Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monibuca/engine
/ init
Function
init
util/stderr_arm64.go:10–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
)
9
10
func
init() {
11
logFile := initFatalLog()
12
if
logFile != nil {
13
// 将进程标准出错重定向至文件,进程崩溃时运行时将向该文件记录协程调用栈信息
14
syscall.Dup3(int(logFile.Fd()), int(os.Stderr.Fd()), 0)
15
}
16
}
Callers
nothing calls this directly
Calls
1
initFatalLog
Function · 0.85
Tested by
no test coverage detected