From: Lewis B. <lbe...@ab...> - 2000-12-27 16:33:26
|
> I have written the Error() class, and tested it in the sqmessage > implementation that I wrote earlier, and it works very well. What do you > guys think about this, and how can it be improved? > > Luke -- Can we also have a function in there that will append to a log file if a config file is set in addition to the dump to screen? That way the admin could either parse for conditions like [warning], [critical], [info], it might also help to be able to append a user name with this so you can differentiate between differnet users if you are tracking different problems. I know there may be file locking issues here. This would seem much more helpfull than simple screen dumps. On a report of an error an admin could see the exact error that was spit out to the user ( and maybe the raw php error? ). Anyway, I think the lack of "real" logging is a pretty big deal for admins who use the system for large user bases. -- Lewis Bergman Texas Communications 4309 Maple St. Abilene, TX 79602 915-695-6962 |