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/tls"
|
||||||
"crypto/x509"
|
"crypto/x509"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log/slog"
|
"go.uber.org/zap"
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
@ -230,7 +230,7 @@ func (b *HTTPClientBuilder) buildMocks() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if b.mockHost != "" && b.mockPort != "" && len(b.mockedDomains) > 0 {
|
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: ")
|
b.log("Mocked domains: ")
|
||||||
|
|
||||||
for _, domain := range b.mockedDomains {
|
for _, domain := range b.mockedDomains {
|
||||||
|
Loading…
Reference in New Issue
Block a user