Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogFileNameFormatter ¶
type LogFileNameFormatter interface {
LogFileName(src OutputSource) string
}
type LogFileNameFormatterFunc ¶
type LogFileNameFormatterFunc func(src OutputSource) string
func (LogFileNameFormatterFunc) LogFileName ¶
func (f LogFileNameFormatterFunc) LogFileName(src OutputSource) string
type OutputSource ¶
type OutputSource string
const ( OutputSourceStdout OutputSource = "stdout" OutputSourceStderr OutputSource = "stderr" )
type TaskOutputSink ¶
func NewTaskOutputSink ¶
func NewTaskOutputSink(logsDirectory string, logToStdErr bool, formatter LogFileNameFormatter) (sink TaskOutputSink, err error)
Click to show internal directories.
Click to hide internal directories.