log

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package log provides the two logging helpers the vendored godoc rendering code calls.

It is a trimmed replacement for github.com/goplus/llcppg/internal/godoc/internal/log. pkgsite's version talks to Stackdriver and an experiment framework; llcppg only needs a place for the renderer's occasional warning or error line to go, so these write to the standard library logger. The context argument is accepted for source compatibility with the pkgsite call sites and is otherwise unused.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(ctx context.Context, format string, args ...any)

Errorf logs a formatted error.

func Warningf

func Warningf(ctx context.Context, format string, args ...any)

Warningf logs a formatted warning.

Types

This section is empty.

Jump to

Keyboard shortcuts

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