Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogSender ¶
Types ¶
type AccessLogger ¶
type AccessLogger interface { Run() Stop() Log(record schema.AccessLogRecord) }
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) FileWriters ¶
func (x *FileAndLoggregatorAccessLogger) FileWriters() []CustomWriter
func (*FileAndLoggregatorAccessLogger) Log ¶
func (x *FileAndLoggregatorAccessLogger) Log(r schema.AccessLogRecord)
func (*FileAndLoggregatorAccessLogger) Run ¶
func (x *FileAndLoggregatorAccessLogger) Run()
func (*FileAndLoggregatorAccessLogger) Stop ¶
func (x *FileAndLoggregatorAccessLogger) Stop()
func (*FileAndLoggregatorAccessLogger) WriterCount ¶
func (x *FileAndLoggregatorAccessLogger) WriterCount() int
type NullAccessLogger ¶
type NullAccessLogger struct { }
func (*NullAccessLogger) Log ¶
func (x *NullAccessLogger) Log(schema.AccessLogRecord)
func (*NullAccessLogger) Run ¶
func (x *NullAccessLogger) Run()
func (*NullAccessLogger) Stop ¶
func (x *NullAccessLogger) Stop()
Click to show internal directories.
Click to hide internal directories.