Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,888 for logb (0.06 sec)

  1. pkg/test/framework/components/istioctl/kube.go

    func (c *kubeComponent) InvokeOrFail(t test.Failer, args []string) (string, string) {
    	output, stderr, err := c.Invoke(args)
    	if err != nil {
    		t.Logf("Unwanted exception for 'istioctl %s': %v", strings.Join(args, " "), err)
    		t.Logf("Output:\n%v", output)
    		t.Logf("Error:\n%v", stderr)
    		t.FailNow()
    	}
    	return output, stderr
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/go/doc/testdata/testing.go

    // and records the text in the error log.
    func (c *common) Logf(format string, args ...any) { c.log(fmt.Sprintf(format, args...)) }
    
    // Error is equivalent to Log() followed by Fail().
    func (c *common) Error(args ...any) {
    	c.log(fmt.Sprintln(args...))
    	c.Fail()
    }
    
    // Errorf is equivalent to Logf() followed by Fail().
    func (c *common) Errorf(format string, args ...any) {
    	c.log(fmt.Sprintf(format, args...))
    	c.Fail()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go

    // is preferable to logging the error - the default behavior is to log but the
    // errors may be sent to a remote server for analysis. The context is used to
    // determine how to log the error.
    //
    // If contextual logging is enabled, the default log output is equivalent to
    //
    //	logr.FromContext(ctx).WithName("UnhandledError").Error(err, msg, keysAndValues...)
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/testprog/annotations-stress.go

    	t3.End()
    	trace.Stop()
    	t2.End()
    	t0.End()
    }
    
    func do(ctx context.Context, k int) {
    	trace.Log(ctx, "log", "before do")
    
    	var t *trace.Task
    	ctx, t = trace.NewTask(ctx, "do")
    	defer t.End()
    
    	trace.Log(ctx, "log2", "do")
    
    	// Create a region and spawn more tasks and more workers.
    	trace.WithRegion(ctx, "fanout", func() {
    		for i := 0; i < k; i++ {
    			go func(i int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging-api/src/main/java/org/gradle/api/logging/Logger.java

        void log(LogLevel level, String message);
    
        /**
         * Logs the given message at the given log level.
         *
         * @param level the log level.
         * @param message the log message.
         * @param objects the log message parameters.
         */
        void log(LogLevel level, String message, Object... objects);
    
        /**
         * Logs the given message at the given log level.
         *
         * @param level the log level.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/proxy/transport_test.go

    			sourceURL:    "http://mynode.com/logs/log.log",
    			transport:    testTransport,
    			output:       `<pre><a href="kubelet.log">kubelet.log</a><a href="/google.log">google.log</a></pre>`,
    			contentType:  "text/plain",
    			forwardedURI: "/proxy/node/node1:10250/logs/log.log",
    		},
    		"subdir": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  7. tools/bug-report/pkg/bugreport/bugreport.go

    	go func() {
    		defer func() {
    			wg.Done()
    			logRuntime(startTime, "Done getting CNI logs for %v", pod)
    		}()
    
    		clog, _, _, err := getLog(runner, resources, config, namespace, pod, "")
    		appendGlobalErr(err)
    		writeFile(filepath.Join(archive.CniPath(tempDir, pod), "cni.log"), clog, config.DryRun)
    		log.Infof("Done with CNI logs %v", pod)
    	}()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. src/log/slog/logger.go

    	if _, ok := l.Handler().(*defaultHandler); !ok {
    		capturePC := log.Flags()&(log.Lshortfile|log.Llongfile) != 0
    		log.SetOutput(&handlerWriter{l.Handler(), &logLoggerLevel, capturePC})
    		log.SetFlags(0) // we want just the log message, no time or location
    	}
    }
    
    // handlerWriter is an io.Writer that calls a Handler.
    // It is used to link the default log.Logger to the default slog.Logger.
    type handlerWriter struct {
    	h         Handler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 18:26:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/log/nflog.go

    var iptablesTrace = log.RegisterScope("iptables", "trace logs for iptables")
    
    // ReadNFLOGSocket reads from the nflog socket, sending output to logs.
    // This is intended for debugging only.
    func ReadNFLOGSocket(ctx context.Context) {
    	if !TraceLoggingEnabled {
    		return
    	}
    	iptablesTrace.Infof("starting nftable log")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. pkg/log/uds.go

    }
    
    // Sync implements zapcore.Core. It sends log messages with HTTP POST.
    func (u *udsCore) Sync() error {
    	logs := u.logsFromBuffer()
    	msg, err := json.Marshal(logs)
    	if err != nil {
    		return fmt.Errorf("failed to sync uds log: %v", err)
    	}
    	resp, err := u.client.Post(u.url, "application/json", bytes.NewReader(msg))
    	if err != nil {
    		return fmt.Errorf("failed to send logs to uds server %v: %v", u.url, err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 16 00:20:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top