2025-11-09 19:13:48 +00:00
|
|
|
//go:build windows
|
|
|
|
|
|
|
|
|
|
package mining
|
|
|
|
|
|
|
|
|
|
import (
|
2026-02-22 21:35:09 +00:00
|
|
|
"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) {
|
2025-12-31 11:48:45 +00:00
|
|
|
logging.Info(message)
|
2025-11-09 19:13:48 +00:00
|
|
|
}
|