Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for setLog (0.15 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonFixture.java

    public interface DaemonFixture {
        /**
         * Returns the context information of this daemon.
         */
        DaemonContext getContext();
    
        /**
         * Returns the log for this daemon.
         */
        String getLog();
    
        /**
         * Returns the log file for this daemon.
         */
        File getLogFile();
    
        /**
         * Returns whether the log file contains a given String.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

        protected final String sourceClass;
    
        protected final Log logger;
    
        public JclLoggerAdapter(final Class<?> clazz) {
            sourceClass = clazz.getName();
            logger = LogFactory.getLog(clazz);
        }
    
        @Override
        public boolean isFatalEnabled() {
            return logger.isFatalEnabled();
        }
    
        @Override
        public void fatal(final String message) {
            logger.fatal(message);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy

        void killDaemonOnly() {
            new ProcessFixture(context.pid).kill(false)
        }
    
        @Override
        String toString() {
            "Daemon with context $context"
        }
    
        @Override
        String getLog() {
            return daemonLog.text
        }
    
        @Override
        File getLogFile() {
            return daemonLog.file
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiReceivingStandardStreamsCrossVersionSpec.groovy

    System.err.println 'this is stderr'
    
    def slf4jLogger = org.slf4j.LoggerFactory.getLogger('some-logger')
    slf4jLogger.warn('A warning using SLF4j')
    
    def jclLogger = org.apache.commons.logging.LogFactory.getLog('some-logger')
    jclLogger.warn('A warning using JCL')
    
    def log4jLogger = org.apache.log4j.Logger.getLogger('some-logger')
    log4jLogger.warn('A warning using Log4j')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/integTest/resources/org/gradle/internal/logging/LoggingIntegrationTest/logging/project1/build.gradle

    org.slf4j.Logger slf4jLogger = org.slf4j.LoggerFactory.getLogger('some-logger')
    slf4jLogger.info('An info log message logged using SLF4j')
    // END SNIPPET use-slf4j
    
    org.apache.commons.logging.Log jclLogger = org.apache.commons.logging.LogFactory.getLog('some-logger')
    jclLogger.info('An info log message logged using JCL')
    
    org.apache.log4j.Logger log4jLogger = org.apache.log4j.Logger.getLogger('some-logger')
    log4jLogger.info('An info log message logged using Log4j')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixRequest.java

         *            plugin repositories.
         * @return This request, never {@code null}.
         */
        PluginPrefixRequest setPom(Model pom);
    
        /**
         * Gets the remote repositories to use.
         *
         * @return The remote repositories to use, never {@code null}.
         */
        List<RemoteRepository> getRepositories();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/tests/device_compiler_test_helper.cc

        absl::Span<const std::string> inputs,
        absl::Span<
            const std::pair<std::string, FunctionDefHelper::AttrValueWrapper>>
            attrs) {
      NodeDef node;
      node.set_name(std::string(name));
      node.set_op(std::string(op));
      for (const auto& input : inputs) node.add_input(input);
      for (const auto& attr : attrs)
        node.mutable_attr()->insert({attr.first, attr.second.proto});
      return node;
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 08:24:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

        }
    
        @Test
        void testGetLogger() {
            ToolchainModel model = new ToolchainModel();
            DefaultToolchain toolchain = newDefaultToolchain(model);
            assertEquals(logger, toolchain.getLog());
        }
    
        @Test
        void testMissingRequirementProperty() {
            ToolchainModel model = new ToolchainModel();
            model.setType("TYPE");
            DefaultToolchain toolchain = newDefaultToolchain(model);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/tasks/GenerateMavenPom.java

        }
    
        /**
         * The Maven POM.
         *
         * @return The Maven POM.
         */
        @Internal
        public MavenPom getPom() {
            return pom.get();
        }
    
        public void setPom(MavenPom pom) {
            this.pom.set(pom);
        }
    
        /**
         * The file the POM will be written to.
         *
         * @return The file the POM will be written to
         */
        @OutputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc

      assert(
          (llvm::isa<TFL::ConstOp, TFL::QConstOp, arith::ConstantOp>(const_op)) &&
          "Expect QConst or Const op.");
      OpBuilder builder(func.getBody());
      auto cloned_const_op = const_op->clone();
      cloned_const_op->setLoc(func.getBody().getLoc());
      builder.insert(cloned_const_op);
      // Rewire the usage.
      func.getArgument(argument_index)
          .replaceAllUsesWith(cloned_const_op->getResult(0));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top