- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetOutputLevel (0.1 sec)
-
cni/pkg/log/uds_test.go
loggingOptions := istiolog.DefaultOptions() loggingOptions.JSONEncoding = true loggingOptions.WithTeeToUDS(udsSock, constants.UDSLogPath) assert.NoError(t, istiolog.Configure(loggingOptions)) istiolog.FindScope("default").SetOutputLevel(istiolog.DebugLevel) istiolog.Debug("debug log") istiolog.Info("info log") istiolog.Warn("warn log") istiolog.Error("error log") istiolog.WithLabels("key", 2).Infof("with labels")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 16:26:28 UTC 2024 - 4.1K bytes - Viewed (0) -
cni/pkg/log/uds.go
l := &UDSLogger{} mux := http.NewServeMux() mux.HandleFunc(constants.UDSLogPath, l.handleLog) loggingServer := &http.Server{ Handler: mux, } l.loggingServer = loggingServer pluginLog.SetOutputLevel(level) return l } // StartUDSLogServer starts up a UDS server which receives log reported from CNI network plugin. func (l *UDSLogger) StartUDSLogServer(sockAddress string, stop <-chan struct{}) error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 4.7K bytes - Viewed (0)