Logs an event to the database after a certain action took place along with the ids of the range object the action possibly affected. You can provide additional info as well as debug information.
- Deprecated:
 - use StudipLog::log() instead 
 
- Parameters
 - 
  
    | String | $action | Name of the action that took place  | 
    | mixed | $affected | Range id that was affected by the action, if any  | 
    | mixed | $coaffected | Range id that was possibly affected as well  | 
    | mixed | $info | Information to add to the event  | 
    | mixed | $dbg_info | Debug information to add to the event  | 
    | mixed | $user_id | Provide null for the current user id  |