logger.go
func (l *logger) NewFacility(facility string) Logger {
	l.mut.Lock()
	if l.debug == nil {
		l.debug = make(map[string]bool)
	}
	l.debug[facility] = false
	l.mut.Unlock()

	return &facilityLogger{
		logger:   l,
		facility: facility,
	}
}
func (l *logger) NewFacility(facility string) Logger {
	l.mut.Lock()
	if l.debug == nil {
		l.debug = make(map[string]bool)
	}
	l.debug[facility] = false
	l.mut.Unlock()

	return &facilityLogger{
		logger:   l,
		facility: facility,
	}
}
// NewFacility returns a new logger bound to the named facility.