// AddXormDBAppender func AddXormDBAppender(driver, spec string, table string, lines []string) { a, err := NewXormDBAppender(driver, spec, table) if err != nil { fmt.Printf("Error db appender: %v\n", err) return } wlog.AddAppender(a, lines) }
// AddAppender func AddAppender(appender logapi.Appender, lines []string) { wlog.AddAppender(appender, lines) }