Mining/pkg/mining/syslog_windows.go

16 lines
359 B
Go
Raw Permalink Normal View History

2025-11-09 19:13:48 +00:00
//go:build windows
package mining
import (
"forge.lthn.ai/Snider/Mining/pkg/logging"
2025-11-09 19:13:48 +00:00
)
// On Windows, syslog is not available. We'll use a dummy implementation
// that logs to the standard logger.
// logToSyslog logs a message to the standard logger, mimicking the syslog function's signature.
func logToSyslog(message string) {
logging.Info(message)
2025-11-09 19:13:48 +00:00
}