mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-06 16:25:21 -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
|
@ -9,7 +9,6 @@ package grpclog
|
|||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
|
@ -88,8 +87,8 @@ type spyLog struct {
|
|||
msgs []string
|
||||
}
|
||||
|
||||
func (f *spyLog) Debugf(format string, args ...any) {
|
||||
f.msgs = append(f.msgs, fmt.Sprintf(format, args...))
|
||||
func (f *spyLog) Debug(msg string, _ ...any) {
|
||||
f.msgs = append(f.msgs, msg)
|
||||
}
|
||||
|
||||
type stubConn struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue