Documentation ¶
Overview ¶
Package lib datadog exporter
Index ¶
- func NewLib() interfaces.Logger
- type Modules
- func (c *Modules) Clean() interfaces.Logger
- func (c *Modules) Close()
- func (c *Modules) CloseWithTimeout(timeout time.Duration)
- func (c *Modules) Debug(format interface{}, input ...interface{})
- func (c *Modules) Error(format interface{}, input ...interface{}) interfaces.Logger
- func (c *Modules) GetLogLevel() (level interfaces.DebugLevel)
- func (c *Modules) GetOutputFormat() interfaces.OutputFormat
- func (c *Modules) GetPrintToConsole() (pr bool)
- func (c *Modules) Info(format interface{}, input ...interface{})
- func (c *Modules) Init(namespace, version string)
- func (c *Modules) InitWithConfig(namespace, version string, config *interfaces.LoggerConfig)
- func (c *Modules) Kill()
- func (c *Modules) New() interfaces.Logger
- func (c *Modules) NewSystemLogger() *log.Logger
- func (c *Modules) Notice(format interface{}, input ...interface{})
- func (c *Modules) ParsingLog(msg interfaces.LoggerMessage) (raw string)
- func (c *Modules) Printf(f string, data ...interface{})
- func (c *Modules) Quit()
- func (c *Modules) RunDatadogTraceLogExporter()
- func (c *Modules) SendDataDogTraceLog(data *interfaces.DatadogTraceLog)
- func (c *Modules) ServiceName() string
- func (c *Modules) ServiceVersion() string
- func (c *Modules) SetDatadogExporterContentEncoding(cc string)
- func (c *Modules) SetLogFile(config *interfaces.LoggingFile)
- func (c *Modules) SetLogLevel(level interfaces.DebugLevel)
- func (c *Modules) SetLogNoOfChunk(cc int)
- func (c *Modules) SetLogSendInterval(cc int)
- func (c *Modules) SetOnLoggerHandler(f func(msg interfaces.LoggerMessage, raw string))
- func (c *Modules) SetOutputFormat(op interfaces.OutputFormat)
- func (c *Modules) SetPrintToConsole(pr bool)
- func (c *Modules) SetSendToDatadog(send bool)
- func (c *Modules) Success(format interface{}, input ...interface{})
- func (c *Modules) Trace(format interface{}, input ...interface{})
- func (c *Modules) Warning(format interface{}, input ...interface{})
- func (c *Modules) Write(p []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLib ¶
func NewLib() interfaces.Logger
Types ¶
type Modules ¶
func (*Modules) Clean ¶ added in v0.0.5
func (c *Modules) Clean() interfaces.Logger
func (*Modules) CloseWithTimeout ¶ added in v0.0.5
func (*Modules) Error ¶
func (c *Modules) Error(format interface{}, input ...interface{}) interfaces.Logger
func (*Modules) GetLogLevel ¶
func (c *Modules) GetLogLevel() (level interfaces.DebugLevel)
func (*Modules) GetOutputFormat ¶
func (c *Modules) GetOutputFormat() interfaces.OutputFormat
func (*Modules) GetPrintToConsole ¶
func (*Modules) InitWithConfig ¶ added in v0.0.5
func (c *Modules) InitWithConfig(namespace, version string, config *interfaces.LoggerConfig)
func (*Modules) New ¶
func (c *Modules) New() interfaces.Logger
func (*Modules) NewSystemLogger ¶
func (*Modules) ParsingLog ¶
func (c *Modules) ParsingLog(msg interfaces.LoggerMessage) (raw string)
func (*Modules) RunDatadogTraceLogExporter ¶ added in v0.0.5
func (c *Modules) RunDatadogTraceLogExporter()
func (*Modules) SendDataDogTraceLog ¶ added in v0.0.5
func (c *Modules) SendDataDogTraceLog(data *interfaces.DatadogTraceLog)
func (*Modules) ServiceName ¶
func (*Modules) ServiceVersion ¶
func (*Modules) SetDatadogExporterContentEncoding ¶ added in v0.0.5
func (*Modules) SetLogFile ¶
func (c *Modules) SetLogFile(config *interfaces.LoggingFile)
func (*Modules) SetLogLevel ¶
func (c *Modules) SetLogLevel(level interfaces.DebugLevel)
func (*Modules) SetLogNoOfChunk ¶ added in v0.0.5
func (*Modules) SetLogSendInterval ¶ added in v0.0.5
func (*Modules) SetOnLoggerHandler ¶
func (c *Modules) SetOnLoggerHandler(f func(msg interfaces.LoggerMessage, raw string))
func (*Modules) SetOutputFormat ¶
func (c *Modules) SetOutputFormat(op interfaces.OutputFormat)
func (*Modules) SetPrintToConsole ¶
func (*Modules) SetSendToDatadog ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.