Mining/pkg/mining/syslog_windows.go

16 lines
356 B
Go
Raw Normal View History

2025-11-09 19:13:48 +00:00
//go:build windows
package mining
import (
"github.com/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
}