MCPcopy Create free account
hub / github.com/alibaba/loongcollector / ProcessLogs

Method ProcessLogs

plugins/processor/json/processor_json.go:60–65  ·  view source on GitHub ↗
(logArray []*protocol.Log)

Source from the content-addressed store, hash-verified

58}
59
60func (p *ProcessorJSON) ProcessLogs(logArray []*protocol.Log) []*protocol.Log {
61 for _, log := range logArray {
62 p.processLog(log)
63 }
64 return logArray
65}
66
67func (p *ProcessorJSON) processLog(log *protocol.Log) {
68 findKey := false

Callers

nothing calls this directly

Calls 1

processLogMethod · 0.95

Tested by

no test coverage detected