Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogSender ¶
type LogSender interface { SendAppLog(appId, message, sourceType, sourceInstance string) error SendAppErrorLog(appId, message, sourceType, sourceInstance string) error ScanLogStream(appId, sourceType, sourceInstance string, reader io.Reader, stopChan chan struct{}) ScanErrorLogStream(appId, sourceType, sourceInstance string, reader io.Reader, stopChan chan struct{}) }
A LogSender emits log events.
func NewLogSender ¶
func NewLogSender(eventEmitter emitter.EventEmitter, logger *gosteno.Logger) LogSender
NewLogSender instantiates a logSender with the given EventEmitter.
Click to show internal directories.
Click to hide internal directories.