aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/output.go
blob: 36eb81050944e2be1622254506ada25ad0f50f5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package internal

import (
	"git.gensokyo.uk/security/hakurei/internal/hlog"
	"git.gensokyo.uk/security/hakurei/sandbox"
	"git.gensokyo.uk/security/hakurei/system"
)

func InstallOutput(verbose bool) {
	hlog.Store(verbose)
	sandbox.SetOutput(hlog.Output{})
	system.SetOutput(hlog.Output{})
}