Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for newEmbeddableLogging (0.21 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/LoggingServiceRegistryTest.groovy

            outputs.stdErr == TextUtil.toPlatformLineSeparators('error\n')
        }
    
        def consumesSlf4jWhenEmbedded() {
            given:
            def registry = LoggingServiceRegistry.newEmbeddableLogging()
            def logger = LoggerFactory.getLogger("category")
            def loggingManager = registry.newInstance(LoggingManagerInternal)
            def listener = Mock(StandardOutputListener)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogsAnalyzer.groovy

            this.daemonBaseDir = daemonBaseDir
            daemonLogsDir = new File(daemonBaseDir, version)
            def services = ServiceRegistryBuilder.builder()
                .parent(LoggingServiceRegistry.newEmbeddableLogging())
                .parent(NativeServicesTestFixture.getInstance())
                .provider(new BasicGlobalScopeServices())
                .provider(new DaemonClientGlobalServices())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/tooling-api-provider/src/main/java/org/gradle/tooling/internal/provider/DefaultConnection.java

            NativeServices.initializeOnClient(gradleUserHomeDir, NativeServicesMode.fromSystemProperties());
            LoggingServiceRegistry loggingServices = LoggingServiceRegistry.newEmbeddableLogging();
            // Merge the connection services into the build process services
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/process/internal/AbstractWorkerProcessIntegrationSpec.groovy

                    throw ex
                }
            }
        }
    
        static LoggingManagerInternal loggingManager(LogLevel logLevel) {
            def loggingManager = LoggingServiceRegistry.newEmbeddableLogging().get(DefaultLoggingManagerFactory).create()
            loggingManager.setLevelInternal(logLevel)
            return loggingManager
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/services/LoggingServiceRegistry.java

         * </ul>
         *
         * <p>Does nothing until started.</p>
         */
        public static LoggingServiceRegistry newEmbeddableLogging() {
            return new CommandLineLogging();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/SystemApplicationClassLoaderWorker.java

            // Read logging config and setup logging
            LoggingServiceRegistry loggingServiceRegistry = LoggingServiceRegistry.newEmbeddableLogging();
            LoggingManagerInternal loggingManager = createLoggingManager(loggingServiceRegistry).setLevelInternal(config.getLogLevel());
    
            // When not explicitly set, use the value from system properties
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

            return durationMeasurement;
        }
    
        private static LoggingServiceRegistry newCommandLineProcessLogging() {
            LoggingServiceRegistry loggingServices = LoggingServiceRegistry.newEmbeddableLogging();
            LoggingManagerInternal rootLoggingManager = loggingServices.get(DefaultLoggingManagerFactory.class).getRoot();
            rootLoggingManager.attachSystemOutAndErr();
            return loggingServices;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top