package logging

import "github.com/tetratelabs/wazero/internal/wasip1/logging"

Index

Functions

func Config

func Config(fnd api.FunctionDefinition) (pSampler logging.ParamSampler, pLoggers []logging.ParamLogger, rLoggers []logging.ResultLogger)

func IsInLogScope

func IsInLogScope(fnd api.FunctionDefinition, scopes logging.LogScopes) bool

IsInLogScope returns true if the current function is in any of the scopes.

Source Files

logging.go

Version
v1.7.2
Published
May 7, 2024
Platform
linux/amd64
Imports
8 packages
Last checked
19 minutes ago

Tools for package owners.