hhkbp2/go-logging

Package not build : handler_syslog.go:12:11: undefined: syslog.Priority

Closed this issue · 3 comments

Hi,

I am unable to bulid package while trying to install. Got below error
C:\Go\MyCode> go get github.com/hhkbp2/go-logging

github.com/hhkbp2/go-logging

src\github.com\hhkbp2\go-logging\handler_syslog.go:12:11: undefined: syslog.Priority
src\github.com\hhkbp2\go-logging\handler_syslog.go:14:12: undefined: syslog.Writer

Please guide me if I am doing wrong else how to fix issue

Regards,
Dinesh

Hi Dinesh,

I notice you tried to build it under windows. This project was only built and tested under Linux/Mac before. So it could run to problems when trying to built it under windows.

The problem you met is due to there is no "syslog" under windows. I have removed the syslog handler in the source code when building under windows. Please try again.

Hi Dinesh,

It's been a while there is no update on this thread. I assume this issue is fixed and would like to close it for now.

There is no issue while building the project.
Thanks you very much. :-) 👍