/** * Singleton - I called it 'logger' in case we want to * plug in Zend_Log at any stage. * * @return DTLog */ public static function logger() { if (!isset(self::$logger)) { self::$logger = new DTLog(); } return self::$logger; }