log_sender

package
v0.0.0-...-c259db3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2015 License: Apache-2.0, Apache-2.0, BSD-2-Clause-Views, + 2 more Imports: 9 Imported by: 0

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)
	ScanErrorLogStream(appID, sourceType, sourceInstance string, reader io.Reader)
}

A LogSender emits log events.

func NewLogSender

func NewLogSender(eventEmitter emitter.EventEmitter, counterEmissionInterval time.Duration, logger *gosteno.Logger) LogSender

NewLogSender instantiates a logSender with the given EventEmitter.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL