...

Package logging

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

Overview ▾

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.