github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/fs/log/systemd.go (about)

     1  // Systemd interface for non-Unix variants only
     2  
     3  //go:build !unix
     4  
     5  package log
     6  
     7  import (
     8  	"log"
     9  	"runtime"
    10  )
    11  
    12  // Enables systemd logs if configured or if auto-detected
    13  func startSystemdLog() bool {
    14  	log.Fatalf("--log-systemd not supported on %s platform", runtime.GOOS)
    15  	return false
    16  }
    17  
    18  func isJournalStream() bool {
    19  	return false
    20  }