logsender

package
v0.0.0-...-be26699 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2015 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logs chan *LogRecord, apiInfo *api.Info) worker.Worker

New starts a logsender worker which reads log message structs from a channel and sends them to the JES via the logsink API.

Types

type LogRecord

type LogRecord struct {
	Time     time.Time
	Module   string
	Location string
	Level    loggo.Level
	Message  string
}

LogRecord represents a log message in an agent which is to be transmitted to the JES.

Jump to

Keyboard shortcuts

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