MCPcopy
hub / github.com/evilsocket/opensnitch / Log

Method Log

daemon/tasks/iocscanner/tools/generic/generic.go:39–45  ·  view source on GitHub ↗
(line string)

Source from the content-addressed store, hash-verified

37}
38
39func (d *GenericTool) Log(line string) {
40 if d.Logger == nil {
41 return
42 }
43
44 d.Logger.Write([]byte(line))
45}
46
47func (d *GenericTool) Start() {
48 log.Debug("[generic-tool] Start() %s, %v", d.Cmd, d.Cmdline)

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected