- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for tee (0.15 sec)
-
cni/pkg/log/uds_test.go
pluginLog.SetOutputLevel(log.DebugLevel) // this will be configured by global.logging.level stop := make(chan struct{}) defer close(stop) assert.NoError(t, logger.StartUDSLogServer(udsSock, stop)) // Configure log to tee to UDS server stdout := os.Stdout r, w, _ := os.Pipe() os.Stdout = w loggingOptions := log.DefaultOptions() loggingOptions.WithTeeToUDS(udsSock, constants.UDSLogPath) assert.NoError(t, log.Configure(loggingOptions))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Mar 16 00:20:01 GMT 2024 - 2.5K bytes - Viewed (0)