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.21.11
Published
May 30, 2024
Platform
windows/amd64
Last checked
1 minute ago

Tools for package owners.