func (g *Glg) SetMode(mode MODE) *Glg {
	g.logger.Range(func(key, val interface{}) bool {
		l := val.(*logger)
		l.mode = mode
		l.updateMode()
		g.logger.Store(key.(LEVEL), l)
		return true
	})

	return g
}
func (g *Glg) SetMode(mode MODE) *Glg {
	g.logger.Range(func(key, val interface{}) bool {
		l := val.(*logger)
		l.mode = mode
		l.updateMode()
		g.logger.Store(key.(LEVEL), l)
		return true
	})

	return g
}
func ( g * Glg ) SetMode ( mode MODE ) * Glg { g . logger . Range ( func ( key , val interface { } ) bool { l := val . ( * logger ) l . mode = mode l . updateMode ( ) g . logger . Store ( key . ( LEVEL ) , l ) return true } ) return g }
// SetMode sets glg logging mode
SetMode sets glg logging mode