Exemple #1
0
func NewFileLogWriter(fname string, rotate bool) LogWriter {
	return log4go.NewFileLogWriter(fname, rotate)
}
Exemple #2
0
func NewFileLogWriter(fname string, rotate bool) *fileLogWriter {
	ret := &fileLogWriter{
		writer: log4go.NewFileLogWriter(fname, rotate),
	}
	return ret
}