public function edit($id)
{
$edit= true;
$brs = BadRunSheet::find($id);
$employees = Employee::select('last_name', 'first_name', 'user_id')->orderBy('last_name')->get();
app(\Vanguard\Services\Logging\UserActivity\Logger::class)->log('Bad run sheet ');
return view('badrunsheets.edit', compact('brs', 'employees', 'edit'));
}
on on a controller with the activity log how would I go about adding A variable to be logged. For example if I hit edit on line x the system would log (user) has opened edit on incident (number from row).
Is this the same for the newer versions?