Mining/pkg/mining/syslog_windows.go
Claude 132b69426a
ax(batch): replace prose comments with usage examples (AX Principle 2)
Convert "X returns the Y" / "X holds Y" / "X represents Y" style
comments to concrete usage examples across database/, logging/, and
mining/ packages. Comments now show how to call the function with
realistic values instead of restating what the signature already says.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 18:03:43 +01:00

12 lines
231 B
Go

//go:build windows
package mining
import (
"forge.lthn.ai/Snider/Mining/pkg/logging"
)
// logToSyslog("miner started: xmrig") // falls back to logging.Info on Windows
func logToSyslog(message string) {
logging.Info(message)
}