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.0-rc.1
Published
Jun 20, 2024
Platform
windows/amd64
Last checked
2 minutes ago

Tools for package owners.