Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetailInfo ¶
type DetailInfo struct {
// contains filtered or unexported fields
}
func NewDetailInfo ¶
func NewDetailInfo(m string) *DetailInfo
func (*DetailInfo) AddKeyValue ¶
func (d *DetailInfo) AddKeyValue(key string, value interface{})
func (*DetailInfo) SetExtraInfo ¶
func (d *DetailInfo) SetExtraInfo(extra interface{})
type FlumeClient ¶
type FlumeClient struct {
// contains filtered or unexported fields
}
func NewFlumeClient ¶
func NewFlumeClient(agentIP string) *FlumeClient
func (*FlumeClient) SendLog ¶
func (c *FlumeClient) SendLog(d []byte) error
func (*FlumeClient) Stop ¶
func (c *FlumeClient) Stop()
type FlumeLogger ¶
type FlumeLogger struct {
// contains filtered or unexported fields
}
func NewFlumeLogger ¶
func NewFlumeLogger() *FlumeLogger
func NewFlumeLoggerWithAddr ¶
func NewFlumeLoggerWithAddr(agentAddr string) *FlumeLogger
func (*FlumeLogger) Error ¶
func (l *FlumeLogger) Error(logInfo string, detail *DetailInfo) error
func (*FlumeLogger) Info ¶
func (l *FlumeLogger) Info(logInfo string, detail *DetailInfo) error
func (*FlumeLogger) Stop ¶
func (l *FlumeLogger) Stop()
func (*FlumeLogger) Warn ¶
func (l *FlumeLogger) Warn(logInfo string, detail *DetailInfo) error
type LogInfo ¶
type LogInfo struct {
// contains filtered or unexported fields
}
func NewLogInfo ¶
func NewLogInfo() *LogInfo
Click to show internal directories.
Click to hide internal directories.