Documentation ¶ Index ¶ func New(t Logger, procName string) io.WriteCloser type Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(t Logger, procName string) io.WriteCloser Types ¶ type Logger ¶ type Logger interface { Log(args ...any) Name() string Cleanup(func()) Failed() bool } Logger is an interface that provides a Log method and a Name method. The Log method is used to write a log message to the logger. The Name method returns the name of the logger which will be prepended to each log message. Source Files ¶ View all Source files iowriter.go Click to show internal directories. Click to hide internal directories.