logger

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugLogf

func DebugLogf(debug bool, format string, args ...any)

func UnsupportedTypeKind

func UnsupportedTypeKind(where string, tpe types.Type)

UnsupportedTypeKind emits a uniform warning when a go/types kind cannot be translated to a Swagger 2.0 construct.

The scanner runs on arbitrary user code in uncontrolled environments, so encountering an unsupported kind must not panic — we log and let the caller skip. `where` is the dispatcher site (typically the function name) so a future go/types evolution — e.g. a new kind we haven't modeled — surfaces one grep-able diagnostic instead of disappearing behind a silent default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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