Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestConnections (0.36 sec)

  1. src/log/slog/logger_test.go

    	l.Info("info", "a", []Attr{Int("i", 1)})
    	check(`level=INFO msg=info a.i=1`)
    
    	l.Info("info", "a", GroupValue(Int("i", 1)))
    	check(`level=INFO msg=info a.i=1`)
    }
    
    func TestConnections(t *testing.T) {
    	var logbuf, slogbuf bytes.Buffer
    
    	// Revert any changes to the default logger. This is important because other
    	// tests might change the default logger using SetDefault. Also ensure we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:25:30 UTC 2023
    - 19.5K bytes
    - Viewed (0)
Back to top