Esempio n. 1
0
func (r *RPCLogFactory) NewLog(a net.Addr) rpc.LogInterface {
	opts := rpc.NewStandardLogOptions(r.G().Env.GetLocalRPCDebug(), r.G().Log)
	ret := rpc.SimpleLog{Addr: a, Out: r.G().GetUnforwardedLogger(), Opts: opts}
	ret.TransportStart()
	return ret
}
Esempio n. 2
0
func (r *RPCLogFactory) NewLog(a net.Addr) rpc.LogInterface {
	ret := rpc.SimpleLog{Addr: a, Out: G.Log, Opts: getRPCLogOptions()}
	ret.TransportStart()
	return ret
}
Esempio n. 3
0
func (r *RPCLogFactory) NewLog(a net.Addr) rpc.LogInterface {
	ret := rpc.SimpleLog{Addr: a, Out: r.G().GetUnforwardedLogger(), Opts: getRPCLogOptions()}
	ret.TransportStart()
	return ret
}