summaryrefslogtreecommitdiffstats
path: root/logging/logging_arm64.go
blob: 03848bbdf58182bf19471a9c99ea28a6dc72da8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// +build arm64

package logging

import (
	"os"
	"syscall"
)

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