// Fatalln works just like log.Fatalln, but with a Red "FATAL[0000]" prefix.
191061
func Fatalln(v ...interface{}) {
	if std.Level >= FatalLevel {
		std.Logger.Fatalln(FatalLevel.String() + fmt.Sprint(v...))
	}
}
1088487
func Errorln(v ...interface{}) {
	std.Fprint(std.flags, LEVEL_ERROR, 2, fmt.Sprintln(v...), nil)
}
387113
func fatal(msg string) {
	// add newline if needed
	if !strings.HasSuffix(msg, "\n") {
		msg += "\n"
	}

	if glog.V(2) {
		glog.FatalDepth(2, msg)
	}
	fmt.Fprint(os.Stderr, msg)
	os.Exit(1)
}
1360414
func (l *Log) Warnln(args ...interface{}) {
	opts := getLoggerOpts(l.module, api.WARNING)
	if !opts.levelEnabled {
		return
	}
	if l.loadCustomLogger() {
		l.customLogger.Warnln(args...)
		return
	}
	l.logln(opts, api.WARNING, args...)
}
1118226
func (l *Logger) Errorln(v ...interface{}) {
	if l.Level >= ErrorLevel {
		l.Logger.Println(ErrorLevel.String() + fmt.Sprint(v...))
	}
}
131061
func (l *Logger) Warnln(v ...interface{}) {
	if l.Level >= WarnLevel {
		l.Logger.Println(WarnLevel.String() + fmt.Sprint(v...))
	}
}
1225631
func (l *FileLogger) Fatal(format string, v ...interface{}) {
	l.log(FATAL, format, v...)
}
1328597
func (entry *Entry) Logln(level Level, args ...interface{}) {
	if entry.Logger.IsLevelEnabled(level) {
		entry.Log(level, entry.sprintlnn(args...))
	}
}
139912
func (l *Log) Infoln(args ...interface{}) {
	opts := getLoggerOpts(l.module, api.INFO)
	if !opts.levelEnabled {
		return
	}
	if l.loadCustomLogger() {
		l.customLogger.Infoln(args...)
		return
	}
	l.logln(opts, api.INFO, args...)
}
589201
func (l *Logger) Fatalf(format string, args ...interface{}) {
	l.logger().Fatalf(format, args...)
}
280893
func Fatalf(format string, args ...interface{}) {
	if logger != nil {
		logger.Fatalf(format, args...)
	}
}
254612
func (l *logger) Warnln(vals ...interface{}) {
	s := fmt.Sprintln(vals...)
	l.mut.Lock()
	defer l.mut.Unlock()
	l.logger.Output(2, "WARNING: "+s)
	l.callHandlers(LevelWarn, s)
}
995669
func (l *Logger) Criticalln(v ...interface{}) {
	l.Fprint(l.flags, LEVEL_CRITICAL, 2, fmt.Sprintln(v...), nil)
}
896469
func (l *Logger) Fatal() *Event {
	return l.newEvent(FatalLevel, func(msg string) { os.Exit(1) })
}
475469
func (l *DefaultLogger) Fatal(msg string, args ...interface{}) {
	l.extractLogError(LevelFatal, msg, args)
	defer panic("Exit due to fatal error: ")
}
1316980
func (l *Log) Fatalf(format string, args ...interface{}) {
	opts := getLoggerOpts(l.module, api.CRITICAL)
	if l.loadCustomLogger() {
		l.customLogger.Fatalf(format, args...)
		return
	}
	l.logf(opts, api.CRITICAL, format, args...)
	l.deflogger.Fatalf(format, args...)
}
22206
func (l *Logger) Fatalf(format string, v ...interface{}) {
	l.logger.Fatalf(l.fatalLabel+format, v...)
}