Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for outputLevel (0.88 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/CoreJavadocOptions.java

         */
        @Override
        public JavadocOutputLevel getOutputLevel() {
            return outputLevel.getValue();
        }
    
        @Override
        public void setOutputLevel(JavadocOutputLevel outputLevel) {
            this.outputLevel.setValue(outputLevel);
        }
    
        @Override
        public MinimalJavadocOptions verbose() {
            setOutputLevel(JavadocOutputLevel.VERBOSE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/istiodconfig.go

    		client:       ctrzClient,
    		outputFormat: outputFormat,
    	}}
    }
    
    type ScopeInfo struct {
    	Name            string `json:"name"`
    	Description     string `json:"description,omitempty"`
    	OutputLevel     string `json:"output_level,omitempty"`
    	StackTraceLevel string `json:"stack_trace_level,omitempty"`
    	LogCallers      bool   `json:"log_callers,omitempty"`
    }
    
    type ScopeLevelPair struct {
    	scope    string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. pkg/log/scope.go

    }
    
    // SetOutputLevel adjusts the output level associated with the scope.
    func (s *Scope) SetOutputLevel(l Level) {
    	s.outputLevel.Store(l)
    }
    
    // GetOutputLevel returns the output level associated with the scope.
    func (s *Scope) GetOutputLevel() Level {
    	return s.outputLevel.Load().(Level)
    }
    
    // SetStackTraceLevel adjusts the stack tracing level associated with the scope.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 16:47:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. pkg/log/options_test.go

    		}},
    
    		{"--log_output_level debug", Options{
    			OutputPaths:         []string{defaultOutputPath},
    			ErrorOutputPaths:    []string{defaultErrorOutputPath},
    			defaultOutputLevels: "default:info,grpc:none",
    			outputLevels:        levelToString[DebugLevel],
    			stackTraceLevels:    DefaultScopeName + ":" + levelToString[defaultStackTraceLevel],
    			RotationMaxAge:      defaultRotationMaxAge,
    			RotationMaxSize:     defaultRotationMaxSize,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. pkg/log/options.go

    		for name := range allScopes {
    			keys = append(keys, name)
    		}
    		keys = append(keys, OverrideScopeName)
    		sort.Strings(keys)
    		s := strings.Join(keys, ", ")
    
    		stringVar(&o.outputLevels, "log_output_level", o.outputLevels,
    			fmt.Sprintf("Comma-separated minimum per-scope logging level of messages to output, in the form of "+
    				"<scope>:<level>,<scope>:<level>,... where scope can be one of [%s] and level can be one of %s",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. pkg/log/config_test.go

    	o := DefaultOptions()
    	o.outputLevels = "grpc:info"
    	if err := Configure(o); err != nil {
    		t.Errorf("Expecting success, got %v", err)
    	} else if !o.logGRPC {
    		t.Errorf("Expecting LogGrpc, got %v", o.logGRPC)
    	}
    }
    
    func TestOddballs(t *testing.T) {
    	resetGlobals()
    
    	o := DefaultOptions()
    	_ = Configure(o)
    
    	o = DefaultOptions()
    	o.outputLevels = "default,,"
    	err := Configure(o)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. pkg/log/config.go

    func updateScopes(options *Options) error {
    	// snapshot what's there
    	allScopes := Scopes()
    
    	// Join defaultOutputLevels and outputLevels
    	levels := options.defaultOutputLevels
    	if levels == "" {
    		levels = options.outputLevels
    	} else if options.outputLevels != "" {
    		levels = levels + "," + options.outputLevels
    	}
    
    	// update the output levels of all listed scopes
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top