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

Struct File

util/logger/file.go:12–14  ·  view source on GitHub ↗

File is a file writer used for logging.

Source from the content-addressed store, hash-verified

10
11// File is a file writer used for logging.
12type File struct {
13 writer *os.File
14}
15
16// NewFile creates and returns a pointer to a new File object along with any error that occurred.
17func NewFile(filename string) (*File, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected