func (n *ng) SetLogSeverity(sev log.Severity) {
	n.logsev = sev
	log.SetSeverity(n.logsev)
}
示例#2
0
func (m *Mem) SetLogSeverity(sev log.Severity) {
	m.LogSeverity = sev
	log.SetSeverity(m.LogSeverity)
}