MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / WithLogger

Function WithLogger

pkg/policies/engine/engine.go:105–109  ·  view source on GitHub ↗

WithLogger sets the WASM engine logger

(logger *zerolog.Logger)

Source from the content-addressed store, hash-verified

103
104// WithLogger sets the WASM engine logger
105func WithLogger(logger *zerolog.Logger) Option {
106 return func(opts *Options) {
107 opts.Logger = logger
108 }
109}
110
111// WithGRPCConn sets the gRPC connection for builtin functions like discover
112func WithGRPCConn(conn *grpc.ClientConn) Option {

Callers 1

executeScriptMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected