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