From: Aldrich, T. <tim...@cs...> - 2004-09-15 17:11:38
|
Thank you for the reply. I erroneously called them categories , which means source classes. what I should have called it was a log level. My program is currently using levels DEBUG through FATAL so going back through and moving meaningful logging messages out of INFO would require a bit of work. I see in the docs that it's deprecated ( though really easy :) to create a new level , which seems to be a perfect fit. This is what I was originally asking when I mistakenly called them categories instead of levels. adding a level called STATUS would be a simple way to sprinkle in $logger->status() messages designed for this new log without refactoring my whole logging methodology. _Why_ is this deprecated , am I missing a draw-back to this approach ? R/S Timothy Aldrich --------------- -- ============================================================================== This message is for the sole use of the intended recipient. If you received this message in error please delete it and notify us. If this message was misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains and monitors electronic communications sent through its network. Instructions transmitted over this system are not binding on CSFB until they are confirmed by us. Message transmission is not guaranteed to be secure. ============================================================================== |