All Unix machines have a separate server process for logging log files. On macOS machines, the name of the process is syslogd(8). On the other hand, most Linux machines use rsyslogd(8), which is an improved and more reliable version of syslogd(8), which was the original Unix system utility for message logging.
However, despite the Unix variant you are using, or the name of the server process used for logging, logging works the same way on every Unix machine and therefore does not affect the Go code that you will write.