Lines Matching refs:f
42 CallerPrettyfier: func(f *runtime.Frame) (function string, file string) {
43 funcName := strings.Split(f.Function, ".")
45 _, filename := filepath.Split(f.File)
46 return fmt.Sprintf("%s()", fn), fmt.Sprintf("%s:%d", filename, f.Line)
65 var f *os.File
68 f, err = os.OpenFile(file, os.O_RDWR|os.O_APPEND, 0666)
70 f, err = os.Create(file)
77 logrus.SetOutput(f)
81 LogFile = f
84 f, err = os.OpenFile(stdout, os.O_RDWR|os.O_APPEND, 0666)
86 f, err = os.Create(stdout)
95 StdoutFile, os.Stdout, os.Stderr = f, f, f