Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for setLog (0.12 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/JavaCompileOnlyDependencyIntegrationTest.groovy

            given:
            file('src/main/java/Test.java') << """
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    
    public class Test {
        private static final Log logger = LogFactory.getLog(Test.class);
    }
    """
    
            and:
            buildFile << """
    apply plugin: 'java'
    
    ${mavenCentralRepository()}
    
    dependencies {
        compileOnly 'commons-logging:commons-logging:1.2'
    }
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. 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)
  3. pkg/volume/nfs/nfs_test.go

    		}
    		if mntDevs[0].Device != expectedDevice {
    			t.Errorf("unexpected nfs device, expected %q, got: %q", expectedDevice, mntDevs[0].Device)
    		}
    	}
    	log := fake.GetLog()
    	if len(log) != 1 {
    		t.Errorf("Mount was not called exactly one time. It was called %d times.", len(log))
    	} else {
    		if log[0].Action != mount.FakeActionMount {
    			t.Errorf("Unexpected mounter action: %#v", log[0])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 9K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/ssa/flagalloc.go

    			for i, a := range v.Args {
    				if !a.Type.IsFlags() {
    					continue
    				}
    				if a == flag {
    					continue
    				}
    				// Recalculate a
    				c := copyFlags(a, b)
    				// Update v.
    				v.SetArg(i, c)
    				// Remember the most-recently computed flag value.
    				flag = a
    			}
    			// Issue v.
    			b.Values = append(b.Values, v)
    			if v.clobbersFlags() {
    				flag = nil
    			}
    			if v.Type.IsFlags() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/zcse.go

    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			for i, a := range v.Args {
    				if opcodeTable[a.Op].argLen == 0 {
    					key := vkey{a.Op, keyFor(a), a.Aux, a.Type}
    					if rv, ok := vals[key]; ok {
    						v.SetArg(i, rv)
    					}
    				}
    			}
    		}
    	}
    }
    
    // vkey is a type used to uniquely identify a zero arg value.
    type vkey struct {
    	op Op
    	ai int64       // aux int
    	ax Aux         // aux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/c/kernels/bitcast_op_test.cc

        return cpu_allocator();
      }
    };
    
    void TestBitcastOp(Tensor* input_tensor, DataType out_type,
                       TensorShape expected_shape, error::Code expected_code) {
      Status status;
      NodeDef def;
      def.set_op("Bitcast");
      def.set_device(DEVICE_CPU);
    
      AttrValue typeAttr;
      SetAttrValue(input_tensor->dtype(), &typeAttr);
    
      AttrValue outTypeAttr;
      SetAttrValue(out_type, &outTypeAttr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  10. 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)
Back to top