Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 848 for loggers (0.11 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/ListenerManager.java

        /**
         * Uses the given object as a logger. Each listener class has exactly one logger associated with it. Any existing
         * logger for the listener class is discarded. Loggers are otherwise treated the same way as listeners.
         *
         * @param logger The new logger to use.
         */
        void useLogger(Object logger);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/init_scripts.adoc

    * Defining machine-specific details (e.g., JDK locations)
    * Registering build listeners (e.g., external tools that wish to listen to Gradle events might find this helpful)
    * Registering loggers (e.g., customize how Gradle logs the events that it generates)
    
    One main <<sharing_build_logic_between_subprojects.adoc#sec:using_buildsrc,limitation of init scripts>> is that they cannot access classes in the `buildSrc` project.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/JULRedirectorTest.groovy

        private final StandardOutputRedirector.OutputListener stdErrListener = Mock()
        private final Logger logger1 = Logger.getLogger("")
        private final Logger logger2 = Logger.getLogger("hello")
        private final Logger logger3 = Logger.getLogger("hello.world")
        private static String savedJULConfigClassProperty = null;
    
        public static class DummyFormatter extends Formatter {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. logger/logger.go

    type Writer interface {
    	Printf(string, ...interface{})
    }
    
    // Config logger config
    type Config struct {
    	SlowThreshold             time.Duration
    	Colorful                  bool
    	IgnoreRecordNotFoundError bool
    	ParameterizedQueries      bool
    	LogLevel                  LogLevel
    }
    
    // Interface logger interface
    type Interface interface {
    	LogMode(LogLevel) Interface
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Nov 07 02:19:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging-api/src/main/java/org/gradle/api/logging/Logger.java

     * See <a href="https://docs.gradle.org/current/userguide/logging.html#sec:debug_security">our recommendations</a> for more information.
     * </p>
     */
    public interface Logger extends org.slf4j.Logger {
        /**
         * Returns true if lifecycle log level is enabled for this logger.
         */
        boolean isLifecycleEnabled();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Logger.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.wrapper;
    
    public class Logger implements Appendable {
    
        private final boolean quiet;
    
        public Logger(boolean quiet) {
            this.quiet = quiet;
        }
    
        public void log(String message) {
            if (!quiet) {
                System.out.println(message);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/integTest/resources/org/gradle/internal/logging/LoggingIntegrationTest/logging/custom-logger-init.gradle

            logger.info("LOGGER: evaluated project $project.path")
        }
    
        public void beforeExecute(Task task) {
            logger.lifecycle("LOGGER: executing $task.path")
        }
    
        public void afterExecute(Task task, TaskState state) {
            logger.info("LOGGER: executed task $task.path")
        }
    
        public void beforeActions(Task task) {
            logger.info("LOGGER: task $task.path starting work")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. cmd/metrics-v3-logger-webhook.go

    		"Total number of messages sent to this target",
    		allWebhookLabels...)
    )
    
    // loadLoggerWebhookMetrics - `MetricsLoaderFn` for logger webhook
    // such as failed messages and total messages.
    func loadLoggerWebhookMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	tgts := append(logger.SystemTargets(), logger.AuditTargets()...)
    	for _, t := range tgts {
    		labels := []string{nameL, t.String(), endpointL, t.Endpoint()}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:27:33 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/testing/iotest/logger.go

    cui fliter <******@****.***> 1699083895 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. cmd/kube-scheduler/app/options/configfile.go

    func LogOrWriteConfig(logger klog.Logger, fileName string, cfg *config.KubeSchedulerConfiguration, completedProfiles []config.KubeSchedulerProfile) error {
    	loggerV := logger.V(2)
    	if !loggerV.Enabled() && len(fileName) == 0 {
    		return nil
    	}
    	cfg.Profiles = completedProfiles
    
    	buf, err := encodeConfig(cfg)
    	if err != nil {
    		return err
    	}
    
    	if loggerV.Enabled() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 17 05:27:21 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top