github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/logger/rpc_adapter_depthadder.go (about)

     1  package logger
     2  
     3  import "github.com/keybase/go-framed-msgpack-rpc/rpc"
     4  
     5  type LogOutputWithDepthAdder struct {
     6  	Logger
     7  }
     8  
     9  var _ rpc.LogOutput = LogOutputWithDepthAdder{}
    10  
    11  // CloneWithAddedDepth implements the rpc.LogOutput interface.
    12  func (l LogOutputWithDepthAdder) CloneWithAddedDepth(depth int) rpc.LogOutputWithDepthAdder {
    13  	return LogOutputWithDepthAdder{l.Logger.CloneWithAddedDepth(depth)}
    14  }