]> go.fuhry.dev Git - runtime.git/commit
log: make Logger an interface
authorDan Fuhry <dan@fuhry.com>
Mon, 30 Dec 2024 19:14:00 +0000 (14:14 -0500)
committerDan Fuhry <dan@fuhry.com>
Mon, 30 Dec 2024 19:14:00 +0000 (14:14 -0500)
commitbce965274f1a537b1700dd3e1882c934aef6f5ab
tree44ec7356e63e194951db3a9f2a4864d5aca647f1
parent41b7e3273ad123c94837c0074cb60009512a19c8
log: make Logger an interface

Logger needs to be mockable, and for that we need it to be an interface.
21 files changed:
attestation/internal/attestation/server.go
grpc/server.go
machines/client.go
machines/coredns_plugin/registry.go
machines/coredns_plugin/registry_store.go
machines/coredns_plugin/setup.go
machines/event_watcher.go
machines/oauth2.go
metrics/metricbus/internal/server.go
metrics/metricbus/mbclient/client.go
metrics/mtls/stats.go
mtls/fsnotify/fsnotify.go
mtls/identity.go
mtls/provider_keychain_macos.go
mtls/verify_names.go
sd/monitor.go
sd/publish.go
sd/watcher.go
thirdparty/registry/main.go
utils/daemon/daemonize.go
utils/log/log.go