Renames log level enum values to not conflict with syslog
LOG_DEBUG conflicts with another enum definition in syslog.h, which causes compilation errors when included. This renames the enum values to be prefixed with LOGC instead of LOG to avoid this.
This addresses #3.
Ah I was just about to open my own PR for this for the same reason! Has this been forgotten about or does something more need to be done?
I haven't received any feedback, so not sure. I rebased my branch so feel free to use my fork
@chiefnoah Thanks for doing this. Did you also have code to log to syslog?
@chiefnoah Thanks for doing this. Did you also have code to log to syslog?
It's been awhile, but I believe I was trying to compile something with a library that used syslog, not use it directly myself.
Hello, I found your pull-request useful and merged it to my fork ! Feel free to propose changes, thanks for your contribution :smiley: https://github.com/BDeliers/log.c