Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for LevelToString (0.22 sec)

  1. pkg/log/options_test.go

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

    		"Whether to format output as JSON or in plain console-friendly format")
    
    	levelListString := fmt.Sprintf("[%s, %s, %s, %s, %s, %s]",
    		levelToString[DebugLevel],
    		levelToString[InfoLevel],
    		levelToString[WarnLevel],
    		levelToString[ErrorLevel],
    		levelToString[FatalLevel],
    		levelToString[NoneLevel])
    
    	allScopes := Scopes()
    	if len(allScopes) > 1 {
    		keys := make([]string, 0, len(allScopes))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. pkg/ctrlz/topics/scopes.go

    	return "scope"
    }
    
    func getScopeInfo(s *log.Scope) *scopeInfo {
    	return &scopeInfo{
    		Name:            s.Name(),
    		Description:     s.Description(),
    		OutputLevel:     levelToString[s.GetOutputLevel()],
    		StackTraceLevel: levelToString[s.GetStackTraceLevel()],
    		LogCallers:      s.GetLogCallers(),
    	}
    }
    
    func (scopeTopic) Activate(context fw.TopicContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	}
    
    	levelListString := fmt.Sprintf("[%s, %s, %s, %s, %s, %s, %s]",
    		levelToString[TraceLevel],
    		levelToString[DebugLevel],
    		levelToString[InfoLevel],
    		levelToString[WarningLevel],
    		levelToString[ErrorLevel],
    		levelToString[CriticalLevel],
    		levelToString[OffLevel])
    	common.attach(cmd)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. istioctl/pkg/proxyconfig/proxyconfig.go

    	}
    
    	levelListString := fmt.Sprintf("[%s, %s, %s, %s, %s, %s, %s]",
    		levelToString[TraceLevel],
    		levelToString[DebugLevel],
    		levelToString[InfoLevel],
    		levelToString[WarningLevel],
    		levelToString[ErrorLevel],
    		levelToString[CriticalLevel],
    		levelToString[OffLevel])
    
    	logCmd.PersistentFlags().BoolVarP(&reset, "reset", "r", reset, "Reset levels to default value (warning).")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 48K bytes
    - Viewed (0)
  6. cni/pkg/cmd/root.go

    		// Start controlz server
    		_, _ = ctrlz.Run(ctrlzOptions, nil)
    
    		var cfg *config.Config
    		if cfg, err = constructConfig(); err != nil {
    			return
    		}
    		log.Infof("CNI logging level: \n%+v", istiolog.LevelToString(log.GetOutputLevel()))
    		log.Infof("CNI install configuration: \n%+v", cfg.InstallConfig)
    		log.Infof("CNI race repair configuration: \n%+v", cfg.RepairConfig)
    
    		// Start metrics server
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top