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

Method Write

util/logger/file.go:27–30  ·  view source on GitHub ↗

Write writes the provided logger event to the file.

(event *Event)

Source from the content-addressed store, hash-verified

25
26// Write writes the provided logger event to the file.
27func (f *File) Write(event *Event) {
28
29 f.writer.Write([]byte(event.fmsg))
30}
31
32// Close closes the file.
33func (f *File) Close() {

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected