orenus on 07/01/10
Last Edited at 07/01/10 10:09pm
class MyLogger { public function MyLogger(){ } public function logDebug($sMsg){ error_log("DEBUG: ". $sMsg); } public function logError($sMsg){ error_log("ERROR: ". $sMsg); } public function logInfo($sMsg){ error_log("INFO: ". $sMsg); }}
Report this snippet Tweet
Comment:
You need to login to post a comment.