- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for DebugEnabled (0.15 sec)
-
pkg/log/default_test.go
_ = Configure(o) pt := funcs.Load().(patchTable) pt.exitProcess = func(_ int) { } funcs.Store(pt) if c.debugEnabled != DebugEnabled() { t.Errorf("Got %v, expecting %v", DebugEnabled(), c.debugEnabled) } if c.infoEnabled != InfoEnabled() { t.Errorf("Got %v, expecting %v", InfoEnabled(), c.infoEnabled) } if c.warnEnabled != WarnEnabled() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 7.4K bytes - Viewed (0) -
pkg/kube/krt/filter.go
if log.DebugEnabled() { log.Debugf("no match key: %q vs %q", f.keys, string(GetKey[any](object))) } return false } // Index is also cheap, and often used to filter namespaces out. Make sure we do this early if f.indexMatches != nil && !f.indexMatches(object) { if log.DebugEnabled() { log.Debugf("no match index") } return false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4.8K bytes - Viewed (0) -
pkg/log/default.go
func Debugf(format string, args ...any) { defaultScope.Debugf(format, args...) } // DebugEnabled returns whether output of messages using this scope is currently enabled for debug-level output. func DebugEnabled() bool { return defaultScope.DebugEnabled() } // WithLabels adds a key-value pairs to the labels in s. The key must be a string, while the value may be any type.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 3.3K bytes - Viewed (0) -
pilot/pkg/xds/xdsgen.go
} return err } switch { case !req.Full: if log.DebugEnabled() { log.Debugf("%s: %s%s for node:%s resources:%d size:%s%s", v3.GetShortType(w.TypeUrl), ptype, req.PushReason(), con.proxy.ID, len(res), util.ByteCount(configSize), info) } default: debug := "" if log.DebugEnabled() { // Add additional information to logs when debug mode enabled.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 20:55:20 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/kube/krt/collection.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/kube/krt/fetch.go
} else { // Otherwise get everything list = c.List() } list = slices.FilterInPlace(list, func(i T) bool { o := c.augment(i) return d.filter.Matches(o, true) }) if log.DebugEnabled() { log.WithLabels( "parent", h.name(), "fetch", c.name(), "filter", d.filter, "size", len(list), ).Debugf("Fetch") } return list
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 2.6K bytes - Viewed (0) -
pkg/config/security/security.go
for _, s := range suites { if IsValidCipherSuite(s) { if !validCiphers.InsertContains(s) { ret = append(ret, s) } else if log.DebugEnabled() { log.Debugf("ignoring duplicated cipherSuite: %q", s) } } else if log.DebugEnabled() { log.Debugf("ignoring unsupported cipherSuite: %q", s) } } return ret
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 07 04:43:34 UTC 2024 - 9.4K bytes - Viewed (0) -
tests/integration/pilot/gateway_conformance_test.go
RestConfig: gatewayConformanceInputs.Client.RESTConfig(), GatewayClassName: "istio", Debug: scopes.Framework.DebugEnabled(), CleanupBaseResources: gatewayConformanceInputs.Cleanup, ManifestFS: []fs.FS{&conformance.Manifests}, SupportedFeatures: supportedFeatures,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 15:22:47 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/adsc/adsc.go
// ignore for now default: adscLog.Infof(protomarshal.ToJSONWithIndent(l, " ")) } } adscLog.Infof("LDS: http=%d tcp=%d size=%d", len(lh), len(lt), ldsSize) if adscLog.DebugEnabled() { b, _ := json.MarshalIndent(ll, " ", " ") adscLog.Debugf(string(b)) } a.mutex.Lock() defer a.mutex.Unlock() if len(routes) > 0 { a.sendRsc(v3.RouteType, routes) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 05 22:18:49 UTC 2024 - 35K bytes - Viewed (0) -
tests/integration/ambient/gateway_conformance_test.go
RestConfig: gatewayConformanceInputs.Client.RESTConfig(), GatewayClassName: "istio", Debug: scopes.Framework.DebugEnabled(), CleanupBaseResources: gatewayConformanceInputs.Cleanup, ManifestFS: []fs.FS{&conformance.Manifests}, SupportedFeatures: supported,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 6K bytes - Viewed (0)