/** * @return Log */ public static function getInstance() { if (self::$_instance === null || self::$_dirty) { self::$_instance = new Log(); self::$_dirty = false; } return self::$_instance; }