method() . ':' . request()->url(); $record['extra']['IP'] = app('request')->ip(); if (auth()->check()) { $record['extra']['user'] = auth()->user()->email; } return $record; } }