Example #1
0
func (s *GripSuite) SetupTest() {
	s.grip.SetName(s.name)
	s.grip.SetSender(send.NewBootstrapLogger(s.grip.ThresholdLevel(), s.grip.DefaultLevel()))
}
Example #2
0
// NewGrip takes the name for a logging instance and creates a new
// Grip instance with configured with a Bootstrap logging
// instance. The default level is "Notice" and the threshold level is
// "info."
func NewGrip(name string) *Grip {
	return &Grip{
		name:   name,
		sender: send.NewBootstrapLogger(level.Info, level.Notice),
	}
}