// Fprintfln is similar to fmt.Fprintf but a newline is appended.
357865
func Fprintfln(w io.Writer, format string, a ...interface{}) (n int, err error) {
	return fmt.Fprintf(w, format+"\n", a...)
}
995584
func Println(foreground, background Color, v ...interface{}) (int, error) {
	return Fprintln(os.Stdout, foreground, background, v...)
}
739916
func (ctx *Context) Writef(format string, a ...interface{}) (int, error) {
	return fmt.Fprintf(ctx, format, a...)
}
1047289
func (g *Group) PrintlnFunc(f func(*Group)) *Statement {
	s := PrintlnFunc(f)
	g.items = append(g.items, s)
	return s
}
1077182
func MaybePrintln(c *cli.Context, message string) {
	if !AnyBool(c, "q") && !AnyBool(c, "s") {
		fmt.Println(message)
	}
}
170964
func (a *Writer) Println(args ...interface{}) (int, error) {
	return fmt.Fprintln(a.w, args...)
}
661916
func (g *Generator) Printf(format string, a ...interface{}) {
	if _, err := fmt.Fprintf(&g.buf, format, a...); err != nil {
		log.Fatalln(err)
	}
}
534240
func Fprint(w io.Writer, a ...interface{}) (int, error) {
	return fmt.Fprint(w, compile(fmt.Sprint(a...)))
}
263007
func FprintWithColor(w io.Writer, str string, code ColorType) (int, error) {
	if setConsoleTextAttribute(uint16(code)) {
		defer setConsoleTextAttribute(uint16(ColorGray))
	}
	return fmt.Fprint(w, str)
}
744339
func Fprintf(w io.Writer, format string, a ...interface{}) (int, error) {
	return fmt.Fprint(w, compile(fmt.Sprintf(format, a...)))
}
589888
func Print(a ...interface{}) (n int, err error) {
	return fmt.Fprint(out, formatAll(a)...)
}
545013
func libLinearPrintFunc(str *C.char) {
	base.Logger.Println(C.GoString(str))
}
69863
func Eprintfln(format string, a ...interface{}) (n int, err error) {
	return Fprintfln(os.Stderr, format, a...)
}
369142
func Print(format string, args ...interface{}) {
	if len(args) == 0 {
		fmt.Fprintln(OutputWriter, format)
		return
	}
	fmt.Fprintf(OutputWriter, format+"\n", args...)
}
1257160
func Print(fset *token.FileSet, x interface{}) (int, error) {
	return Fprint(os.Stdout, fset, x, NotNilFilter)
}
715309
func (p *printer) f(format string, args ...interface{}) {
	if p.Err != nil {
		return
	}
	if _, err := fmt.Fprintf(&p.indent, format, args...); err != nil && err != io.ErrShortWrite {
		p.Err = err
	}
}
1323464
func printFlag(w io.Writer, f *flag.Flag) {
	example, _ := flag.UnquoteUsage(f)
	if example != "" {
		fmt.Fprintf(w, "  -%s=<%s>\n", f.Name, example)
	} else {
		fmt.Fprintf(w, "  -%s\n", f.Name)
	}

	indented := wrapAtLength(f.Usage, 5)
	fmt.Fprintf(w, "%s\n\n", indented)
}