fix logs
All checks were successful
dev test / test (push) Successful in 7s
dev test / vulnCheck (push) Successful in 13s
dev test / Ci-Lint (push) Successful in 11s
${{ github.actor }} executed Build Push Prod / build (push) Successful in 3m11s
${{ github.actor }} executed Build Push Prod / deploy (push) Successful in 19s
All checks were successful
dev test / test (push) Successful in 7s
dev test / vulnCheck (push) Successful in 13s
dev test / Ci-Lint (push) Successful in 11s
${{ github.actor }} executed Build Push Prod / build (push) Successful in 3m11s
${{ github.actor }} executed Build Push Prod / deploy (push) Successful in 19s
This commit is contained in:
parent
2294f9efc1
commit
97f95eb107
@ -19,7 +19,7 @@ type Adapter struct {
|
||||
|
||||
func NewAdapter(conn *grpc.ClientConn) (*Adapter, error) {
|
||||
client := dolar.NewDollarClient(conn)
|
||||
log := slog.New(slog.NewJSONHandler(os.Stderr))
|
||||
log := slog.New(slog.NewJSONHandler(os.Stderr, nil))
|
||||
log.With("dapter", "dolar-grpc")
|
||||
return &Adapter{dolar: client, conn: conn, log: log}, nil
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user