Return to Snippet

Revision: 28130
at July 1, 2010 22:09 by orenus


Initial Code
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);
	}
}

Initial URL

                                

Initial Description

                                

Initial Title
Lesson 3 - MyLogger - Step 1

Initial Tags

                                

Initial Language
PHP