static function get_instance() { if (self::$instance == NULL) { self::$instance = new logs(); } return self::$instance; }