This has been elaborately discussed on the development mailing list under '#define ERROR workaround'.
The names stay as is, because:
* changing breaks backwards compatibility
* changing means an unnecessary diversion from log4j
* the libraries/apps claiming these far to generic macro names are broken, not log4cpp: log4cpp only uses an enum containing DEBUG within log4cpp::Priority scope and not a macro.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For avoiding the collision between the level name of priority and some macros of other program.
such as
DEBUG ==> Debug
ERROR ==> Error
INFO ==> Info
ALERT ==> Alert
....
This has been elaborately discussed on the development mailing list under '#define ERROR workaround'.
The names stay as is, because:
* changing breaks backwards compatibility
* changing means an unnecessary diversion from log4j
* the libraries/apps claiming these far to generic macro names are broken, not log4cpp: log4cpp only uses an enum containing DEBUG within log4cpp::Priority scope and not a macro.