Standard librarylog/internal Index | Files

package internal

import "log/internal"

Package internal contains definitions used by both log and log/slog.

Index

Variables

var DefaultOutput func(pc uintptr, data []byte) error

DefaultOutput holds a function which calls the default log.Logger's output function. It allows slog.defaultHandler to call into an unexported function of the log package.

Source Files

internal.go

Version
v1.23.5
Published
Jan 10, 2025
Platform
darwin/amd64
Last checked
2 minutes ago

Tools for package owners.