Re: Log: setMask

From: 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: [...]
$mask = Log::MIN(PEAR_LOG_EMERG);
        
try it this way, it should work for you $mask = Log::UPTO(PEAR_LOG_EMERG);
$logger->setMask($mask); $logger->info("Test info");
        
Best regards Jörg Wegner


« previous php.pear.general (#24492) next »