summaryrefslogtreecommitdiffstats
path: root/logging/logging_arm64.go
blob: 48ace3180eb4d70fbb24e015b3655dd90efd288f (plain)
1
2
3
4
5
6
7
8
9
10
package logging

import (
	"os"
	"syscall"
)

func stderrToLogfile(logfile *os.File) {
	syscall.Dup3(int(logfile.Fd()), 2, 0)
}