Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for grein (0.14 sec)

  1. logger/logger.go

    	)
    
    	if config.Colorful {
    		infoStr = Green + "%s\n" + Reset + Green + "[info] " + Reset
    		warnStr = BlueBold + "%s\n" + Reset + Magenta + "[warn] " + Reset
    		errStr = Magenta + "%s\n" + Reset + Red + "[error] " + Reset
    		traceStr = Green + "%s\n" + Reset + Yellow + "[%.3fms] " + BlueBold + "[rows:%v]" + Reset + " %s"
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Nov 07 02:19:41 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/netns_linux.go

    				// not as optimal but at least always safe to do.
    				runtime.UnlockOSThread()
    			}
    		}()
    
    		return toRun()
    	}
    
    	var wg sync.WaitGroup
    	wg.Add(1)
    
    	// Start the callback in a new green thread so that if we later fail
    	// to switch the namespace back to the original one, we can safely
    	// leave the thread locked to die without a risk of the current thread
    	// left lingering with incorrect namespace.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. internal/color/color.go

    		}
    		return fmt.Sprintf
    	}()
    
    	Yellow = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgYellow).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	Green = func() func(a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgGreen).SprintFunc()
    		}
    		return fmt.Sprint
    	}()
    
    	Greenf = func() func(format string, a ...interface{}) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top