logstream

package
v0.0.4-dev.0...-067a624 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogEvent

type LogEvent struct {
	Error   bool
	Message string
}

type Logger

type Logger interface {
	Infof(msg string, args ...interface{})
	Warnf(msg string, args ...interface{})
	Debugf(msg string, args ...interface{})
}

type LoggerStream

type LoggerStream interface {
	Logger
	ID() string
	Stream() <-chan LogEvent
	Close()
}

func GetLogStream

func GetLogStream(id string) LoggerStream

func NewLogStream

func NewLogStream() LoggerStream

Jump to

Keyboard shortcuts

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