Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetLoggingOptions (0.23 sec)

  1. cni/pkg/plugin/plugin.go

    		if err != nil {
    			return nil, fmt.Errorf("could not convert result to current version: %v", err)
    		}
    	}
    	// End previous result parsing
    
    	return &conf, nil
    }
    
    func GetLoggingOptions(cfg *Config) *log.Options {
    	loggingOptions := log.DefaultOptions()
    	loggingOptions.OutputPaths = []string{"stderr"}
    	loggingOptions.JSONEncoding = true
    	if cfg != nil {
    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