static Logging class?
| From: | Lars Nielsen | Date: | Sun, 03 Mar 2013 13:26:10 +0000 |
| Subject: | static Logging class? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-320369@lists.php.net to get a copy of this message | ||
Hi,
I work on a little hobby-project, and i want to make a oo logging
facility. (php5.3 oop)
Is it best to make a class with static functions that i can call from my
other classes? Or is it more appropriate to make a real logging-class i
should instantiate every time i need to log something? (I just want to
log to a file)
Best regards
Lars Nielsen