package
1.8.0
Repository: https://github.com/synapsecns/sanguine.git
Documentation: pkg.go.dev

# Functions

CombineStreams creates a combined stream of two io.readClosers this is commonly used for combining stdout and stderr.
HasReader returns true if the given reader type is set.
SplitStreams splits an input into multiple io.readers TODO this should return an object with an iterator to prevent reuse.
StartLogs starts the log process.
WithAccumulator returns a function that modifies the Accumulator field of a stdStreamLogArgs struct.
WithCtx returns a function that modifies the Ctx field of a stdStreamLogArgs struct.
WithLogDir returns a function that modifies the LogDir field of a stdStreamLogArgs struct.
WithLogFileName returns a function that modifies the LogFileName field of a stdStreamLogArgs struct.
WithLogFrequency returns a function that modifies the LogFrequency field of a stdStreamLogArgs struct.
WithPrintFunc returns a function that modifies the PrintFunc field of a stdStreamLogArgs struct.
WithReader returns a function that modifies the StdOut or StdErr field of a stdStreamLogArgs struct.
WithStdErr returns a function that modifies the StdErr field of a stdStreamLogArgs struct.
WithStdOut returns a function that modifies the StdOut field of a stdStreamLogArgs struct.

# Constants

CombinedSuffix is the combined file suffix.
stderr.
StdErrSuffix is the standard err suffix.
stdout.
StdOutSuffix is the standard out file suffix.

# Interfaces

LogMetadata provides an interface for getting locations of process log files.

# Type aliases

PrintFunc is the function used to print data to the desired logger.
ReaderType is the type of reader (stdout or stderr).
StdStreamLogArgsOption is a function that modifies a stdStreamLogArgs struct field.