Example #1
0
func (g *Grip) AlertWhenf(conditional bool, msg string, args ...interface{}) {
	g.AlertWhen(conditional, message.NewFormatedMessage(msg, args...))
}
Example #2
0
func (g *Grip) SendWhenf(conditional bool, l level.Priority, msg string, args ...interface{}) {
	g.SendWhen(conditional, l, message.NewFormatedMessage(msg, args...))
}
Example #3
0
func (g *Grip) EmergencyFatalWhenf(conditional bool, msg string, args ...interface{}) {
	g.conditionalSendFatal(level.Emergency, conditional, message.NewFormatedMessage(msg, args...))
}
Example #4
0
func (g *Grip) AlertFatalf(msg string, a ...interface{}) {
	g.sendFatal(level.Alert, message.NewFormatedMessage(msg, a...))
}
Example #5
0
func (g *Grip) ErrorPanicWhenf(conditional bool, msg string, args ...interface{}) {
	g.conditionalSendPanic(level.Error, conditional, message.NewFormatedMessage(msg, args...))
}
Example #6
0
func (g *Grip) EmergencyFatalf(msg string, a ...interface{}) {
	g.sendFatal(level.Emergency, message.NewFormatedMessage(msg, a...))
}
Example #7
0
func (g *Grip) AlertPanicf(msg string, a ...interface{}) {
	g.sendPanic(level.Alert, message.NewFormatedMessage(msg, a...))
}
Example #8
0
func (g *Grip) Sendf(l level.Priority, msg string, a ...interface{}) {
	g.sender.Send(l, message.NewFormatedMessage(msg, a...))
}
Example #9
0
func (g *Grip) Defaultf(msg string, a ...interface{}) {
	g.sender.Send(g.sender.DefaultLevel(), message.NewFormatedMessage(msg, a...))
}
Example #10
0
func (g *Grip) Infof(msg string, a ...interface{}) {
	g.sender.Send(level.Info, message.NewFormatedMessage(msg, a...))
}
Example #11
0
func (g *Grip) Debugf(msg string, a ...interface{}) {
	g.sender.Send(level.Debug, message.NewFormatedMessage(msg, a...))
}
Example #12
0
func (g *Grip) Noticef(msg string, a ...interface{}) {
	g.sender.Send(level.Notice, message.NewFormatedMessage(msg, a...))
}
Example #13
0
func (g *Grip) ErrorPanicf(msg string, a ...interface{}) {
	g.sendPanic(level.Error, message.NewFormatedMessage(msg, a...))
}
Example #14
0
func (g *Grip) ErrorFatalf(msg string, a ...interface{}) {
	g.sendFatal(level.Error, message.NewFormatedMessage(msg, a...))
}
Example #15
0
func (g *Grip) CriticalPanicf(msg string, a ...interface{}) {
	g.sendPanic(level.Critical, message.NewFormatedMessage(msg, a...))
}
Example #16
0
func (g *Grip) CriticalFatalf(msg string, a ...interface{}) {
	g.sender.Send(level.Critical, message.NewFormatedMessage(msg, a...))
}