Esempio n. 1
0
 /**
  * @return CL_Log
  */
 public static function get_instance()
 {
     if (self::$instance === NULL) {
         self::$instance = new CL_Log();
     }
     return self::$instance;
 }
Esempio n. 2
0
function log_message($message)
{
    $log = CL_Log::get_instance();
    $log->write($message);
}