log icon indicating copy to clipboard operation
log copied to clipboard

Syslog cross compilation issue

Open emilevauge opened this issue 10 years ago • 1 comments

Hi,

github.com/mailgun/log cannot be imported and compiled on a windows platform. It would be great to make use of the wrapper https://github.com/hashicorp/go-syslog that allows to import syslog without cross-compilations issue ;)

emilevauge avatar Sep 19 '15 12:09 emilevauge

Hey guys!

Yeah, mailgun/log can't build on Windows, as the syslog package is not available (and won't be available) on windows. https://github.com/golang/go/issues/1108

It would be nice to add build tags to omit the log package on Windows / only use it on linux,darwin.

glycerine avatar Oct 29 '17 20:10 glycerine