Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type AccessLogger

type AccessLogger interface {
	Run()
	Stop()
	Log(record schema.AccessLogRecord)
}

func CreateRunningAccessLogger

func CreateRunningAccessLogger(logger logger.Logger, logsender schema.LogSender, config *config.Config) (AccessLogger, error)

type DropsondeLogSender

type DropsondeLogSender struct {
	// contains filtered or unexported fields
}

func (*DropsondeLogSender) SendAppLog

func (l *DropsondeLogSender) SendAppLog(appID, message string, tags map[string]string)

type FileAndLoggregatorAccessLogger

type FileAndLoggregatorAccessLogger struct {
	// contains filtered or unexported fields
}

func (*FileAndLoggregatorAccessLogger) FileWriter

func (x *FileAndLoggregatorAccessLogger) FileWriter() io.Writer

func (*FileAndLoggregatorAccessLogger) Log

func (*FileAndLoggregatorAccessLogger) Run

func (*FileAndLoggregatorAccessLogger) Stop

func (*FileAndLoggregatorAccessLogger) WriterCount

func (x *FileAndLoggregatorAccessLogger) WriterCount() int

type NullAccessLogger

type NullAccessLogger struct {
}

func (*NullAccessLogger) Log

func (*NullAccessLogger) Run

func (x *NullAccessLogger) Run()

func (*NullAccessLogger) Stop

func (x *NullAccessLogger) Stop()

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.