Why does Log not have get/setIdent() functions?

From: Date: Tue, 11 Mar 2003 17:43:37 +0000
Subject: Why does Log not have get/setIdent() functions?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4159@lists.php.net to get a copy of this message
Here's my current implementation. I have a superclass that sets $this->log in it's constructor using &Log::singleton. My subclasses then change _ident to give a more meaningful log message in the output. So - my questions are: - should Log have get/setIdent (I've current modified Log.php with these) - is there a better way to handle this issue instead? - I was just trying to avoid setting the log in each subclass, to make it look a bit cleaner. neko

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