MCPcopy
hub / github.com/g3n/engine / Write

Method Write

util/logger/net.go:29–32  ·  view source on GitHub ↗

Write writes the provided logger event to the network.

(event *Event)

Source from the content-addressed store, hash-verified

27
28// Write writes the provided logger event to the network.
29func (n *Net) Write(event *Event) {
30
31 n.conn.Write([]byte(event.fmsg))
32}
33
34// Clone closes the network connection.
35func (n *Net) Close() {

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected