For Programmers: Free Programming Magazines  


Home > Archive > PHP on Windows > January 2008 > duplicate log level constant value in win32/syslog.h









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author duplicate log level constant value in win32/syslog.h
Yoshinari Takaoka

2008-01-21, 4:08 am

Hi, all.

I wonder why syslog log level value is duplicated in win32/syslog.h,
an example is following.

http://cvs.php.net/viewvc.cgi/php-s....13&view=markup

#define LOG_NOTICE 6
#define LOG_INFO 6
#define LOG_DEBUG 6

Because of this definition, I can't output over LOG_NOTICE log level
message(LOG_DEGUG, LOG_INFO excluded) in Windows.

is there any reason for this duplicate definition in only win32 ?
or is this a bug?

Best Regards.

--
Yoshinari Takaoka
takaoka@beatcraft.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com