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

Function WithLogger

pkg/attestation/crafter/crafter.go:98–103  ·  view source on GitHub ↗
(l *zerolog.Logger)

Source from the content-addressed store, hash-verified

96}
97
98func WithLogger(l *zerolog.Logger) NewOpt {
99 return func(c *Crafter) error {
100 c.Logger = l
101 return nil
102 }
103}
104
105func WithWorkingDirPath(path string) NewOpt {
106 return func(c *Crafter) error {

Callers 5

NewAttestationResetFunction · 0.92
NewAttestationStatusFunction · 0.92
NewAttestationPushFunction · 0.92
NewAttestationInitFunction · 0.92
NewAttestationAddFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected