Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for logInfo (0.12 sec)

  1. platforms/core-runtime/logging/src/integTest/resources/org/gradle/internal/logging/LoggingIntegrationTest/logging/project1/build.gradle

        doFirst {
            println('A task message which is logged at LIFECYCLE level')
            System.err.println('A task error message which is logged at WARN level')
        }
    }
    
    // START SNIPPET task-capture-stdout
    task logInfo {
        logging.captureStandardOutput LogLevel.INFO
        doFirst {
            println 'A task message which is logged at INFO level'
        }
    }
    // END SNIPPET task-capture-stdout
    
    task nestedBuildLog(type: GradleBuild) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tutorial/logging/tests/logging.sample.conf

    executable: gradle
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 33 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/tutorial/logging/groovy/build.gradle

    // end::use-println[]
    
    // tag::capture-stdout[]
    logging.captureStandardOutput LogLevel.INFO
    println 'A message which is logged at INFO level'
    // end::capture-stdout[]
    
    // tag::task-capture-stdout[]
    tasks.register('logInfo') {
        logging.captureStandardOutput LogLevel.INFO
        doFirst {
            println 'A task message which is logged at INFO level'
        }
    }
    // end::task-capture-stdout[]
    
    // tag::use-slf4j[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tutorial/logging/kotlin/build.gradle.kts

    // end::use-println[]
    
    // tag::capture-stdout[]
    logging.captureStandardOutput(LogLevel.INFO)
    println("A message which is logged at INFO level")
    // end::capture-stdout[]
    
    // tag::task-capture-stdout[]
    tasks.register("logInfo") {
        logging.captureStandardOutput(LogLevel.INFO)
        doFirst {
            println("A task message which is logged at INFO level")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util_test.cc

      unsetenv("TF_DUMP_GRAPH_PREFIX");
    
      std::string filepath = DumpMlirOpToFile("module", module_ref.get());
      EXPECT_EQ(filepath, "(TF_DUMP_GRAPH_PREFIX not specified)");
    }
    
    TEST(DumpMlirModuleTest, LogInfo) {
      mlir::MLIRContext context;
      mlir::OwningOpRef<mlir::ModuleOp> module_ref =
          mlir::ModuleOp::create(mlir::UnknownLoc::get(&context));
      setenv("TF_DUMP_GRAPH_PREFIX", "-", 1);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 18 13:40:21 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/LoggingIntegrationTest.groovy

                'init callback quiet out')
            lifecycle(
                'LOGGER: evaluating :',
                'LOGGER: evaluating :project1',
                'LOGGER: evaluating :project2',
                'LOGGER: executing :project1:logInfo',
                'LOGGER: executing :project1:logLifecycle',
                'LOGGER: executing :project1:nestedBuildLog',
                'LOGGER: executing :project1:log'
            )
            info(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  7. src/crypto/x509/name_constraints_test.go

    				CurrentTime:   time.Unix(1500, 0),
    				KeyUsages:     test.requestedEKUs,
    			}
    			_, err = leafCert.Verify(verifyOpts)
    
    			logInfo := true
    			if len(test.expectedError) == 0 {
    				if err != nil {
    					t.Errorf("unexpected failure: %s", err)
    				} else {
    					logInfo = false
    				}
    			} else {
    				if err == nil {
    					t.Error("unexpected success")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. cmd/common-main.go

    	}
    
    	api := operations.NewConsoleAPI(swaggerSpec)
    
    	if !serverDebugLog {
    		// Disable console logging if server debug log is not enabled
    		noLog := func(string, ...interface{}) {}
    
    		consoleapi.LogInfo = noLog
    		consoleapi.LogError = noLog
    		api.Logger = noLog
    	}
    
    	// Pass in console application config. This needs to happen before the
    	// ConfigureAPI() call.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  9. src/log/syslog/syslog_test.go

    			addr, sock, srvWG := startServer(t, tr, "", done)
    			defer srvWG.Wait()
    			defer sock.Close()
    			if tr == "unix" || tr == "unixgram" {
    				defer os.Remove(addr)
    			}
    			s, err := Dial(tr, addr, LOG_INFO|LOG_USER, "syslog_test")
    			if err != nil {
    				t.Fatalf("Dial() failed: %v", err)
    			}
    			err = s.Info(msg)
    			if err != nil {
    				t.Fatalf("log failed: %v", err)
    			}
    			check(t, msg, <-done, tr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 16:09:24 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  10. src/log/syslog/syslog.go

    func (w *Writer) Notice(m string) error {
    	_, err := w.writeAndRetry(LOG_NOTICE, m)
    	return err
    }
    
    // Info logs a message with severity [LOG_INFO], ignoring the severity
    // passed to New.
    func (w *Writer) Info(m string) error {
    	_, err := w.writeAndRetry(LOG_INFO, m)
    	return err
    }
    
    // Debug logs a message with severity [LOG_DEBUG], ignoring the severity
    // passed to New.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top