remove slog completely

This commit is contained in:
Pavel 2024-01-19 13:20:16 +03:00
parent 194e9c40e9
commit 3afa198be2

View File

@ -5,7 +5,7 @@ import (
"crypto/tls"
"crypto/x509"
"fmt"
"log/slog"
"go.uber.org/zap"
"net"
"net/http"
"net/url"
@ -230,7 +230,7 @@ func (b *HTTPClientBuilder) buildMocks() error {
}
if b.mockHost != "" && b.mockPort != "" && len(b.mockedDomains) > 0 {
b.log("Mock address has been set", slog.String("address", net.JoinHostPort(b.mockHost, b.mockPort)))
b.log("Mock address has been set", zap.String("address", net.JoinHostPort(b.mockHost, b.mockPort)))
b.log("Mocked domains: ")
for _, domain := range b.mockedDomains {