log($method,$type,$description,$id_user=null); } public function log($method,$type,$description,$id_user=null){ app('LogService')->log($method,$type,$description,$id_user); } public function apiError($method,$description){ app('LogService')->log($method,'apiError',$description); return ['success'=>'false','fail_info'=>$description]; } }