예제 #1
0
func NewConsoleLogWriter() *consoleLogWriter {
	ret := &consoleLogWriter{
		writer: log4go.NewConsoleLogWriter(),
	}
	return ret
}
예제 #2
0
func init() {
	log4go.Close()
	log4go.AddFilter("test", log4go.DEBUG, log4go.NewConsoleLogWriter())
}
예제 #3
0
func init() {
	// TODO: should really log to stderr and not stdout
	log4go.Global.AddFilter("stdout", log4go.FINEST, log4go.NewConsoleLogWriter())
}
예제 #4
0
파일: log.go 프로젝트: noname007/completion
func init() {
	log4go.AddFilter("stdout", log4go.WARNING, log4go.NewConsoleLogWriter())
}
예제 #5
0
func NewConsoleLogWriter() LogWriter {
	return log4go.NewConsoleLogWriter()
}