Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StringToLevel (0.09 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig.go

    	TraceLevel:    "trace",
    	DebugLevel:    "debug",
    	InfoLevel:     "info",
    	WarningLevel:  "warning",
    	ErrorLevel:    "error",
    	CriticalLevel: "critical",
    	OffLevel:      "off",
    }
    
    var stringToLevel = map[string]Level{
    	"trace":    TraceLevel,
    	"debug":    DebugLevel,
    	"info":     InfoLevel,
    	"warning":  WarningLevel,
    	"warn":     WarningLevel,
    	"error":    ErrorLevel,
    	"critical": CriticalLevel,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	TraceLevel:    "trace",
    	DebugLevel:    "debug",
    	InfoLevel:     "info",
    	WarningLevel:  "warning",
    	ErrorLevel:    "error",
    	CriticalLevel: "critical",
    	OffLevel:      "off",
    }
    
    var stringToLevel = map[string]Level{
    	"trace":    TraceLevel,
    	"debug":    DebugLevel,
    	"info":     InfoLevel,
    	"warning":  WarningLevel,
    	"warn":     WarningLevel,
    	"error":    ErrorLevel,
    	"critical": CriticalLevel,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin.go

    		// Override plugin log level based on their config. Not we use "all" (OverrideScopeName) since there is no scoping in the plugin.
    		if cfg.PluginLogLevel != "" {
    			loggingOptions.SetDefaultOutputLevel(log.OverrideScopeName, log.StringToLevel(cfg.PluginLogLevel))
    		}
    	}
    	return loggingOptions
    }
    
    // CmdAdd is called for ADD requests
    func CmdAdd(args *skel.CmdArgs) (err error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top