package
1.0.0
Repository: https://github.com/0angelic0/dd-trace-go.git
Documentation: pkg.go.dev

# Functions

Debug prints the given message if the level is LevelDebug.
DebugEnabled returns true if debug log messages are enabled.
Error reports an error.
Flush flushes and resets all aggregated errors to the logger.
Info prints an informational message.
OpenFileAtPath creates a new file at the specified dirPath and configures the logger to write to this file.
SetLevel sets the given lvl for logging.
UseLogger sets l as the active logger and returns a function to restore the previous logger.
Warn prints a warning message.

# Constants

LevelDebug represents debug level messages.
LevelWarn represents warning and errors.
File name for writing tracer logs, if DD_TRACE_LOG_DIRECTORY has been configured.

# Structs

DiscardLogger discards every call to Log().
ManagedFile functions like a *os.File but is safe for concurrent use.
RecordLogger records every call to Log() and makes it available via Logs().

# Interfaces

Logger implementations are able to log given messages that the tracer might output.

# Type aliases

Level specifies the logging level that the log package prints at.