Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogFile

type LogFile struct {
	// contains filtered or unexported fields
}

func New

func New(filepath string) *LogFile

func (*LogFile) Write

func (lf *LogFile) Write(b []byte) (n int, err error)

    Opens, writes, and closes the file. not efficent, but safe

    Source Files