Re: Log: setMask
| From: | Sabine | Date: | Tue, 27 Jun 2006 18:07:55 +0000 |
| Subject: | Re: Log: setMask | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24492@lists.php.net to get a copy of this message | ||
Hello Jörg,
thanks for your answer.
I tried it with UPTO, too.
But everytime it is the same: every error, warnig, notice etc. is logged.
Is it possible that there is a bug in the log-script?
Best regards
Sabine
Jörg Wegner schrieb:
Hello Sabine, On Tuesday 27 June 2006 18:27, Sabine wrote: [...]try it this way, it should work for you $mask = Log::UPTO(PEAR_LOG_EMERG);$mask = Log::MIN(PEAR_LOG_EMERG);Best regards Jörg Wegner$logger->setMask($mask); $logger->info("Test info");