kairos-sdk/types/logger_windows.go
Itxaka 571996d6ba
Be able to build the logger on windows (#596)
Seems like provider can build for windows for the kairosctl command and
it would fail due to the systemd libs not being available to build under
windows so we need to protect against that

Signed-off-by: Itxaka <itxaka@kairos.io>
2025-05-06 11:19:17 +02:00

14 lines
176 B
Go

//go:build windows
package types
import "io"
func isJournaldAvailable() bool {
return false
}
func getJournaldWriter() io.Writer {
return nil // No journald on Windows
}