package debug

import "github.com/Azure/go-amqp/internal/debug"

Index

Functions

func Assert

func Assert(bool)

Assert panics if the specified condition is false.

func Assertf

func Assertf(bool, string, ...any)

Assert panics with the provided message if the specified condition is false.

func Log

func Log(_ int, _ string, _ ...any)

Log writes the formatted string to stderr. Level indicates the verbosity of the messages to log. The greater the value, the more verbose messages will be logged.

Source Files

debug.go

Version
v1.4.0 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Last checked
5 days ago

Tools for package owners.