go2hx

manual

github

Module: stdgo.log.internal

(view library index)

Overview

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

Index

Functions

import stdgo.log.internal.Internal

function defaultOutput

function defaultOutput(_pc:stdgo.GoUIntptr, _data:stdgo.Slice<stdgo.GoByte>):stdgo.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.

(view code)