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