Example #1
0
func (gl GLogger) Warn(f string, a ...interface{}) {
	glog.WarningDepth(3, fmt.Sprintf(f, a...))
}
Example #2
0
func (Logger) Warningf(format string, args ...interface{}) {
	glog.WarningDepth(3, fmt.Sprintf(format, args...))
}
Example #3
0
// WarningDepth is part of the Logger interface.
func (cl *ConsoleLogger) WarningDepth(depth int, s string) {
	log.WarningDepth(1+depth, s)
}
Example #4
0
// Warningf is part of the Logger interface
func (cl ConsoleLogger) Warningf(format string, v ...interface{}) {
	log.WarningDepth(2, fmt.Sprintf(format, v...))
}