Log Levels

We use log levels to help categorize the events. Some entries might points to same channels but must be show in different levels. So the log levels are pretty perfect to do.

    "message": "page-fail",
    "data": {
            "error": "Database error on 786th line",
            "page": "product/787/toy",
    		"user_id": 788
    "level": 500,
    "level_name": "ERROR"	

You may post data to the logs using following loggfing levels specification: emergency, alert, critical, error, warning, notice, info and debug:

Log::emergency('CHANNEL-NAME', ['customer' => 'Jane Doe', 'page-view' => 'Bob Marley Profile Page']);