package logging
import "github.com/tetratelabs/wazero/internal/gojs/logging"
Index ¶
- func Config(fnd api.FunctionDefinition, scopes logging.LogScopes) (pSampler logging.ParamSampler, pLoggers []logging.ParamLogger, rLoggers []logging.ResultLogger)
- func IsInLogScope(fnd api.FunctionDefinition, scopes logging.LogScopes) bool
Functions ¶
func Config ¶
func Config(fnd api.FunctionDefinition, scopes logging.LogScopes) (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 ¶
- Version
- v1.5.0
- Published
- Aug 24, 2023
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 1 hour ago –
Tools for package owners.