Documentation
¶
Index ¶
- func Buffer(tmpl *template.Template, stdout io.Writer) processor.OutputFactory
- func Discard() processor.OutputFactory
- func JSON(stdout, stderr io.Writer) processor.OutputFactory
- func Passthrough(stdout, stderr io.Writer) processor.OutputFactory
- func Prefix(color bool, stdout, stderr io.Writer, ch chan PrefixMessage) processor.OutputFactory
- func TerminalWriter(ch chan PrefixMessage)
- func UI(sender sender) processor.OutputFactory
- type Logger
- type PrefixMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Discard ¶ added in v0.0.31
func Discard() processor.OutputFactory
func Passthrough ¶ added in v0.0.21
func Passthrough(stdout, stderr io.Writer) processor.OutputFactory
func Prefix ¶
func Prefix(color bool, stdout, stderr io.Writer, ch chan PrefixMessage) processor.OutputFactory
func TerminalWriter ¶ added in v0.0.21
func TerminalWriter(ch chan PrefixMessage)
TerminalWriter writes messages from multiple producers properly prefixed by the message prefix
func UI ¶
func UI(sender sender) processor.OutputFactory
Types ¶
type PrefixMessage ¶ added in v0.0.21
type PrefixMessage struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.