The highest tagged major version is
v2.
package
Version:
v1.24.1
Opens a new window with list of versions in this module.
Published: May 18, 2020
License: Apache-2.0, BSD-3-Clause, Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package log provides logging utilities for the tracer.
func Debug(fmt string, a ...interface{})
Debug prints the given message if the level is LevelDebug.
func Error(format string, a ...interface{})
Error reports an error. Errors get aggregated and logged periodically. The
default is once per minute or once every DD_LOGGING_RATE number of seconds.
Flush flushes and resets all aggregated errors to the logger.
SetLevel sets the given lvl for logging.
UseLogger sets l as the active logger.
func Warn(fmt string, a ...interface{})
Warn prints a warning message.
Level specifies the logging level that the log package prints at.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.