Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRotateNoStdout (0.28 sec)

  1. pkg/log/config_test.go

    	}
    
    	o = DefaultOptions()
    	o.ErrorOutputPaths = []string{"//"}
    	err = Configure(o)
    	if err == nil {
    		t.Errorf("Got success, expecting error")
    	}
    }
    
    func TestRotateNoStdout(t *testing.T) {
    	// Ensure that rotation is setup properly
    
    	dir := t.TempDir()
    
    	file := dir + "/rot.log"
    
    	o := DefaultOptions()
    	o.OutputPaths = []string{}
    	o.RotateOutputPath = file
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top