Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DebugDir (0.12 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go

    	// dir.DebugDir, as follows:
    	//  1. If LogWriter is present, log to it.
    	//  2. If DebugDir is present, log to a file within it.
    	//  3. If both LogWriter and DebugDir are present, log to a multi writer.
    	//  4. If neither LogWriter nor DebugDir are present, log to a noop logger.
    	var logWriters []io.Writer
    	logFile, err := debugLogFile(dir.DebugDir())
    	if err != nil {
    		logFile = nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/start.go

    	fd, err := os.Stat(telemetry.Default.DebugDir())
    	if err != nil {
    		if !os.IsNotExist(err) {
    			log.Fatalf("failed to stat debug directory: %v", err)
    		}
    	} else if fd.IsDir() {
    		// local/debug exists and is a directory. Set stderr to a log file path
    		// in local/debug.
    		childLogPath := filepath.Join(telemetry.Default.DebugDir(), "sidecar.log")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go

    }
    
    func (d Dir) Dir() string {
    	return d.dir
    }
    
    func (d Dir) LocalDir() string {
    	return d.local
    }
    
    func (d Dir) UploadDir() string {
    	return d.upload
    }
    
    func (d Dir) DebugDir() string {
    	return d.debug
    }
    
    func (d Dir) ModeFile() string {
    	return d.modefile
    }
    
    // SetMode updates the telemetry mode with the given mode.
    // Acceptable values for mode are "on", "off", or "local".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top