Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdWriter ¶
type CmdWriter struct {
// contains filtered or unexported fields
}
CmdWriter represents a writer to log an output from the executed cmd.
func (*CmdWriter) MaxTokenSize ¶
MaxTokenSize sets the max token size for the underlying scanner.
type PrettyWriter ¶
type PrettyWriter struct {
// contains filtered or unexported fields
}
PrettyWriter represents a pretty formatteed writer
func NewPretty ¶
func NewPretty(name string, file *os.File) *PrettyWriter
NewPretty instantiates and returns a new pretty writer.
func (*PrettyWriter) Write ¶
func (w *PrettyWriter) Write(p []byte) (int, error)
Write implements the standard Write interface.
func (*PrettyWriter) WriteStringf ¶
func (w *PrettyWriter) WriteStringf(format string, args ...interface{})
WriteStringf writes the provided formatted string to the underlying interface.
Click to show internal directories.
Click to hide internal directories.