@@ -251,15 +251,15 @@ func (c *TChannelClient) call(
251
251
call .success = false
252
252
253
253
sc , ctx := c .getDynamicChannelWithFallback (reqHeaders , c .sc , ctx )
254
- ctx = call .contextLogger .WarnZ (ctx , fmt .Sprintf ("Initiating tchannel call with attempt : %d" , rs .Attempt ))
254
+ ctx = call .contextLogger .Warn (ctx , fmt .Sprintf ("Initiating tchannel call with attempt : %d" , rs .Attempt ))
255
255
call .call , cerr = sc .BeginCall (ctx , call .serviceMethod , & tchannel.CallOptions {
256
256
Format : tchannel .Thrift ,
257
257
ShardKey : GetShardKeyFromCtx (ctx ),
258
258
RequestState : rs ,
259
259
RoutingDelegate : GetRoutingDelegateFromCtx (ctx ),
260
260
})
261
261
if call .call == nil && cerr == nil {
262
- ctx = call .contextLogger .WarnZ (ctx , "Could not make tchannel call" )
262
+ ctx = call .contextLogger .Warn (ctx , "Could not make tchannel call" )
263
263
}
264
264
if cerr != nil {
265
265
return errors .Wrapf (
@@ -269,7 +269,7 @@ func (c *TChannelClient) call(
269
269
}
270
270
271
271
if call .call != nil && call .call .Response () != nil {
272
- ctx = call .contextLogger .WarnZ (ctx , fmt .Sprintf ("outbound call response format : %s" , call .call .Response ().Format ().String ()))
272
+ ctx = call .contextLogger .Warn (ctx , fmt .Sprintf ("outbound call response format : %s" , call .call .Response ().Format ().String ()))
273
273
}
274
274
// trace request
275
275
reqHeaders = tchannel .InjectOutboundSpan (call .call .Response (), reqHeaders )
0 commit comments