Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,484 for Dlog (0.12 sec)

  1. src/log/slog/internal/slogtest/slogtest.go

    // Package slogtest contains support functions for testing slog.
    package slogtest
    
    import "log/slog"
    
    // RemoveTime removes the top-level time attribute.
    // It is intended to be used as a ReplaceAttr function,
    // to make example output deterministic.
    func RemoveTime(groups []string, a slog.Attr) slog.Attr {
    	if a.Key == slog.TimeKey && len(groups) == 0 {
    		return slog.Attr{}
    	}
    	return a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 20:33:11 UTC 2023
    - 553 bytes
    - Viewed (0)
  2. operator/cmd/mesh/shared.go

    var installerScope = log.RegisterScope("installer", "installer")
    
    func init() {
    	// adding to remove message about the controller-runtime logs not getting displayed
    	// We cannot do this in the `log` package since it would place a runtime dependency on controller-runtime for all binaries.
    	scope := log.RegisterScope("controlleruntime", "scope for controller runtime")
    	controllruntimelog.SetLogger(log.NewLogrAdapter(scope))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. releasenotes/notes/json-log-sort.yaml

    John Howard <******@****.***> 1706030446 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 23 17:20:46 UTC 2024
    - 148 bytes
    - Viewed (0)
  4. pkg/kubelet/server/auth.go

    	case isSubpath(requestPath, metricsPath):
    		attrs.Subresource = "metrics"
    	case isSubpath(requestPath, logsPath):
    		// "log" to match other log subresources (pods/log, etc)
    		attrs.Subresource = "log"
    	case isSubpath(requestPath, checkpointPath):
    		attrs.Subresource = "checkpoint"
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/audit.go

    }
    
    func (o *AuditLogOptions) newBackend(w io.Writer) audit.Backend {
    	groupVersion, _ := schema.ParseGroupVersion(o.GroupVersionString)
    	log := pluginlog.NewBackend(w, o.Format, groupVersion)
    	log = o.BatchOptions.wrapBackend(log)
    	log = o.TruncateOptions.wrapBackend(log, groupVersion)
    	return log
    }
    
    func (o *AuditWebhookOptions) AddFlags(fs *pflag.FlagSet) {
    	fs.StringVar(&o.ConfigFile, "audit-webhook-config-file", o.ConfigFile,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 24 06:30:04 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  6. pkg/proxy/serviceport.go

    		}
    	}
    	if len(invalidIPs) > 0 {
    		klog.V(4).InfoS("Service change tracker ignored the following load balancer ingress IPs for given Service as they don't match the IP Family",
    			"ipFamily", ipFamily, "loadBalancerIngressIPs", invalidIPs, "service", klog.KObj(service))
    	}
    
    	if apiservice.NeedsHealthCheck(service) {
    		p := service.Spec.HealthCheckNodePort
    		if p == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 09 08:17:56 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/img/ci-systems/teamcity-log-link.png

    teamcity-log-link.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 42K bytes
    - Viewed (0)
  8. src/log/slog/handler.go

    	//
    	// A Handler should treat WithGroup as starting a Group of Attrs that ends
    	// at the end of the log event. That is,
    	//
    	//     logger.WithGroup("s").LogAttrs(ctx, level, msg, slog.Int("a", 1), slog.Int("b", 2))
    	//
    	// should behave like
    	//
    	//     logger.LogAttrs(ctx, level, msg, slog.Group("s", slog.Int("a", 1), slog.Int("b", 2)))
    	//
    	// If the name is empty, WithGroup returns the receiver.
    	WithGroup(name string) Handler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    			}
    			forceDetach := !isHealthy && forceDetatchTimeoutExpired
    
    			hasOutOfServiceTaint, err := rc.hasOutOfServiceTaint(attachedVolume.NodeName)
    			if err != nil {
    				logger.Error(err, "Failed to get taint specs for node", "node", klog.KRef("", string(attachedVolume.NodeName)))
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/log/slog/slogtest_test.go

    package slog_test
    
    import (
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"io"
    	"log/slog"
    	"strings"
    	"testing"
    	"testing/slogtest"
    )
    
    func TestSlogtest(t *testing.T) {
    	for _, test := range []struct {
    		name  string
    		new   func(io.Writer) slog.Handler
    		parse func([]byte) (map[string]any, error)
    	}{
    		{"JSON", func(w io.Writer) slog.Handler { return slog.NewJSONHandler(w, nil) }, parseJSON},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:50:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top