Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setDebugLoggingEnabled (0.2 sec)

  1. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystemTest.groovy

            then:
            1 * watcherRegistryFactory.createFileWatcherRegistry(_) >> watcherRegistry
            1 * watcherRegistry.updateVfsOnBuildStarted(_, _, _) >> watchingVirtualFileSystem.root
            1 * watcherRegistry.setDebugLoggingEnabled(false)
            0 * _
    
            when:
            watchingVirtualFileSystem.beforeBuildFinished(WatchMode.ENABLED, VfsLogging.NORMAL, WatchLogging.NORMAL, buildOperationRunner, Integer.MAX_VALUE)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/FileWatcherRegistry.java

        /**
         * Configures debug logging.
         *
         * When enabled, {@link net.rubygrapefruit.platform.internal.jni.NativeLogger} will emit {@link java.util.logging.Level#FINEST} logs.
         */
        void setDebugLoggingEnabled(boolean debugLoggingEnabled);
    
        /**
         * Close the watcher registry. Stops watching without handling the changes.
         */
        @Override
        void close() throws IOException;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/DefaultFileWatcherRegistry.java

                @Override
                public int getNumberOfWatchedHierarchies() {
                    return numberOfWatchedHierarchies.get();
                }
            };
        }
    
        @Override
        public void setDebugLoggingEnabled(boolean debugLoggingEnabled) {
            java.util.logging.Logger.getLogger(NativeLogger.class.getName()).setLevel(debugLoggingEnabled
                ? Level.FINEST
                : Level.INFO
            );
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystem.java

                                }
                            }
                        }
                        if (watchRegistry != null) {
                            watchRegistry.setDebugLoggingEnabled(watchLogging == WatchLogging.DEBUG);
                        }
                        context.setResult(new BuildStartedFileSystemWatchingBuildOperationType.Result() {
                                              @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 16:22:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top