src/Base.php
public function TargettedLog($logMessage, $userTarget)
    {
        $log = $this->getLogsRepository()->create(['log' => $logMessage, 'target' => $userTarget, 'ip' => Request::ip()]);
    }
public function TargettedLog($logMessage, $userTarget)
    {
        $log = $this->getLogsRepository()->create(['log' => $logMessage, 'target' => $userTarget, 'ip' => Request::ip()]);
    }
public function TargettedLog ( $ logMessage , $ userTarget ) { $ log = $ this -> getLogsRepository ( ) -> create ( [ 'log' => $ logMessage , 'target' => $ userTarget , 'ip' => Request :: ip ( ) ] ) ; }
Create a log and associates it to a user

@param $logMessage
@param $userTarget
Create a log and associates it to a user