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

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