Exemple #1
0
 /**
  * Get Zoombi_Log instance
  * @return Zoombi_Log
  */
 public static function &getInstance()
 {
     if (self::$m_instance == null) {
         self::$m_instance = new Zoombi_Log();
     }
     return self::$m_instance;
 }
Exemple #2
0
 /**
  * Log message
  * @param $a_message
  * @param $a_prefix
  */
 public static final function log($a_message, $a_prefix = null)
 {
     Zoombi_Log::getInstance()->log($a_message, $a_prefix);
 }