debug

package
v3.31.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disable

func Disable()

Disable disables debug logging. After this call, Algolia requests and responses will not be logged anymore. The minor overhead introduced when debug logging is enabled should not happen anymore.

func Display

func Display(itf interface{})

Display displays the given parameter on the standard output in a custom way, depending on the given input type. This function is internally used by the Algolia API client to display, for instance, HTTP requests and responses when debug logging is enabled.

func Enable

func Enable()

Enable enables debug logging. After this call, all Algolia HTTP requests and responses will be displayed. A minor overhead is expected when debug logging is enabled.

func Printf

func Printf(format string, a ...interface{})

func Println

func Println(a ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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