src/errors/HCLog.php
public function notice(string $id, string $message, int $status = 400)
    {
        Log::info($id . ' : ' . $message);

        return response ()->json (['success' => false, 'id' => $id, 'message' => $message], $status);
    }
public function notice(string $id, string $message, int $status = 400)
    {
        Log::info($id . ' : ' . $message);

        return response ()->json (['success' => false, 'id' => $id, 'message' => $message], $status);
    }
public function notice ( string $ id , string $ message , int $ status = 400 ) { Log :: info ( $ id . ' : ' . $ message ) ; return response ( ) -> json ( [ 'success' => false , 'id' => $ id , 'message' => $ message ] , $ status ) ; }
Create notice response

@param string $id
@param string $message
@param int $status
@return \Illuminate\Http\JsonResponse
Create notice response