Constant names in Log/observer.php
| From: | Sebastian R�bke | Date: | Mon, 21 Oct 2002 23:45:48 +0000 |
| Subject: | Constant names in Log/observer.php | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-10182@lists.php.net to get a copy of this message | ||
Hi,
I just have been looking at Log/observer.php out of the Log package release
1.4 as I am planning to use this class in a project.
I noticed that the names of the constants for the priority levels of the log
message do not correspond to the ones defined in Log.php.
The ones in Log.php read as PEAR_LOG_INFO for example whereas in
Log/observer.php it is LOG_INFO only.
According to the changelog at pear.php.net
(http://pear.php.net/package-changelog.php?pacid=8&release=1.2) they seem to
have changed since the 1.2 release.
So am I right assuming that the ones in Log/observer.php have possibly been
simply forgotten? ;-)
--
Best regards,
Sebastian Röbke