コード例 #1
0
ファイル: config.go プロジェクト: ufosky-server/platform
func ConfigureCmdLineLog() {
	ls := model.LogSettings{}
	ls.EnableConsole = true
	ls.ConsoleLevel = "ERROR"
	ls.EnableFile = false
	configureLog(&ls)
}
コード例 #2
0
ファイル: config.go プロジェクト: ttyniwa/platform
func ConfigureCmdLineLog() {
	ls := model.LogSettings{}
	ls.EnableConsole = true
	ls.ConsoleLevel = "WARN"
	configureLog(&ls)
}