// GetLogFactory implements GetLogFactory in kex2.Provisionee. func (e *Kex2Provisionee) GetLogFactory() rpc.LogFactory { return rpc.NewSimpleLogFactory(e.G().Log, nil) }
func makeLogFactory() rpc.LogFactory { if testing.Verbose() { return nil } return rpc.NewSimpleLogFactory(&nullLogOutput{}, nil) }