mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-27 12:01:04 -04:00
deps: convert zap to slog (#2825)
This commit is contained in:
parent
3765cb0762
commit
54cce77bab
182 changed files with 1474 additions and 1509 deletions
|
@ -37,10 +37,10 @@ func NewIssuer(log attestation.Logger) *Issuer {
|
|||
|
||||
// Issue issues a TDX attestation document.
|
||||
func (i *Issuer) Issue(_ context.Context, userData []byte, nonce []byte) (attDoc []byte, err error) {
|
||||
i.log.Infof("Issuing attestation statement")
|
||||
i.log.Info("Issuing attestation statement")
|
||||
defer func() {
|
||||
if err != nil {
|
||||
i.log.Warnf("Failed to issue attestation document: %s", err)
|
||||
i.log.Warn(fmt.Sprintf("Failed to issue attestation document: %s", err))
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue