mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
11 lines
301 B
Go
11 lines
301 B
Go
package log
|
|
|
|
type Driver interface {
|
|
Init()
|
|
Close() (err error)
|
|
WriteLine(id string, line string) (err error)
|
|
WriteLines(id string, lines []string) (err error)
|
|
Find(id string, pattern string, skip int, limit int) (lines []string, err error)
|
|
Count(id string, pattern string) (n int, err error)
|
|
}
|