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.22.10
Published
Nov 27, 2024
Platform
linux/amd64
Last checked
22 seconds ago

Tools for package owners.