log4php ◦ Python: logging (In standard library!) ◦ Ruby: log4r, logging include('Logger.php'); $logger = Logger::getLogger("main"); $logger->info("This is an informational message."); $logger->warn("I'm not feeling so good..."); INFO - This is an informational message. WARN - I'm not feeling so good...
(WARN == INFO) == False • Debugging UIT op production • Pas op met object/functie aanroepen ◦ $logger->debug("Doing something with object " . $this->nastyLongObjectLookup()); // *yawn* App hangs