# Logs

Sh Framework has a way of automatically storing logs in the system. All you have to do is call storelog function with 5 params log type, e.g add_new_task and description Added new task #5 also the model added

Below is a full example.

storeLog('add_new_task', "Added new task#$task->id $task->name", $task);