You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Almost ...
kardianos/service uses *(log/syslog).Writer under the hood.
Or *(golang.org/x/sys/windows/svc/eventlog).Log in case of Windows.
On 'linux-systemd' or 'darwin-launchd', I get stderr being scraped by service managers, but it can be considered luck, not cross-platform solution.
By some hackish approach it can be done, but the result won't be IMO satisfying.
All logs will be logged on the same level, if so. https://go.dev/play/p/fTfDw1bQg89
When coding I use mostly go default log. Is there any way to pass logs to service logger
The text was updated successfully, but these errors were encountered: