func (lc *lconfig) doing_default_level() (syslog.Priority, bool) { c := atomic.LoadUint32(&lc.config) l := syslog.Priority(c & maskLogLvl) d := syslog.Priority((c & maskDefLvl) >> levelshift) respect := (c & maskDefObl) == 0 return d, ((d <= l) || !respect) }
func (lc *lconfig) default_level() (l syslog.Priority) { c := atomic.LoadUint32(&lc.config) l = syslog.Priority(c & maskDefLvl >> levelshift) return }
func (lc *lconfig) level() (l syslog.Priority) { c := atomic.LoadUint32(&lc.config) l = syslog.Priority(c & maskLogLvl) return }