lib

package
v0.0.5001 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 23 Imported by: 6

Documentation

Overview

Package lib datadog exporter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLib

func NewLib() interfaces.Logger

Types

type Modules

type Modules struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Modules) Clean added in v0.0.5

func (c *Modules) Clean() interfaces.Logger

func (*Modules) Close added in v0.0.5

func (c *Modules) Close()

func (*Modules) CloseWithTimeout added in v0.0.5

func (c *Modules) CloseWithTimeout(timeout time.Duration)

func (*Modules) Debug

func (c *Modules) Debug(format interface{}, input ...interface{})

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 (c *Modules) GetPrintToConsole() (pr bool)

func (*Modules) Info

func (c *Modules) Info(format interface{}, input ...interface{})

func (*Modules) Init

func (c *Modules) Init(namespace, version string)

Init - Deprecated, use InitWithConfig instead

func (*Modules) InitWithConfig added in v0.0.5

func (c *Modules) InitWithConfig(namespace, version string, config *interfaces.LoggerConfig)

func (*Modules) Kill added in v0.0.5

func (c *Modules) Kill()

func (*Modules) New

func (c *Modules) New() interfaces.Logger

func (*Modules) NewSystemLogger

func (c *Modules) NewSystemLogger() *log.Logger

func (*Modules) Notice

func (c *Modules) Notice(format interface{}, input ...interface{})

func (*Modules) ParsingLog

func (c *Modules) ParsingLog(msg interfaces.LoggerMessage) (raw string)

func (*Modules) Printf

func (c *Modules) Printf(f string, data ...interface{})

func (*Modules) Quit

func (c *Modules) Quit()

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 (c *Modules) ServiceName() string

func (*Modules) ServiceVersion

func (c *Modules) ServiceVersion() string

func (*Modules) SetDatadogExporterContentEncoding added in v0.0.5

func (c *Modules) SetDatadogExporterContentEncoding(cc string)

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 (c *Modules) SetLogNoOfChunk(cc int)

func (*Modules) SetLogSendInterval added in v0.0.5

func (c *Modules) SetLogSendInterval(cc int)

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 (c *Modules) SetPrintToConsole(pr bool)

func (*Modules) SetSendToDatadog added in v0.0.5

func (c *Modules) SetSendToDatadog(send bool)

func (*Modules) Success

func (c *Modules) Success(format interface{}, input ...interface{})

func (*Modules) Trace

func (c *Modules) Trace(format interface{}, input ...interface{})

func (*Modules) Warning

func (c *Modules) Warning(format interface{}, input ...interface{})

func (*Modules) Write

func (c *Modules) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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