mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-08 23:12:18 -04:00
rewrote internal/grpc/grpclog
This commit is contained in:
parent
700d886c57
commit
a2ded13ea6
2 changed files with 3 additions and 4 deletions
|
@ -50,5 +50,5 @@ type getStater interface {
|
|||
}
|
||||
|
||||
type debugLog interface {
|
||||
Debug(format string, args ...any)
|
||||
Debug(msg string, args ...any)
|
||||
}
|
||||
|
|
|
@ -9,7 +9,6 @@ package grpclog
|
|||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
|
@ -88,8 +87,8 @@ type spyLog struct {
|
|||
msgs []string
|
||||
}
|
||||
|
||||
func (f *spyLog) Debug(format string, args ...any) {
|
||||
f.msgs = append(f.msgs, fmt.Sprintf(format, args...))
|
||||
func (f *spyLog) Debug(msg string, args ...any) {
|
||||
f.msgs = append(f.msgs, msg)
|
||||
}
|
||||
|
||||
type stubConn struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue