You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crate/log/logsdk/processor.go

11 lines
207 B
Go

1 year ago
package logsdk
import "context"
1 year ago
// EntryProcessor 处理日志记录
type EntryProcessor interface {
Process(ctx context.Context, entry ReadonlyEntry)
1 year ago
}
type levelProcessors [LevelCount][]EntryProcessor