mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-24 06:06:03 +03:00
remove slog completely
This commit is contained in:
parent
194e9c40e9
commit
3afa198be2
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user