Documentation ¶
Index ¶
- func Errorf(message string, args ...interface{})
- func InitLogger(longestJob int, remoteLog io.WriteCloser)
- func Log(job node.Node, message string)
- func LogDebug(job node.Node, message string)
- func LogError(job node.Node, message string)
- func LogJob(callback func(*job.Job) error) func(*job.Job) error
- func LogSuccess(job node.Node, message string)
- func LogWriter(job node.Node) io.Writer
- func LogWriterError(job node.Node) io.Writer
- func LoggerForJob(job node.Node) *log.Entry
- func Printf(message string, args ...interface{})
- func Successf(message string, args ...interface{})
- type LogHandler
- type LogIOWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶ added in v0.2.0
func InitLogger(longestJob int, remoteLog io.WriteCloser)
func LogSuccess ¶ added in v0.2.0
Types ¶
type LogHandler ¶ added in v0.2.0
type LogHandler struct { LongestJob int // contains filtered or unexported fields }
type LogIOWriter ¶ added in v0.2.0
type LogIOWriter struct { Logger func(string) // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.