Skip to content

Commit

Permalink
Added emergency level to docs
Browse files Browse the repository at this point in the history
Added the emergency level to the docs and ordered in in the same way as in RFC 5424.
  • Loading branch information
ArjanSchouten committed Jul 4, 2015
1 parent abfaab5 commit 092c6ad
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,16 @@ The Laravel logging facilities provide a simple layer on top of the powerful [Mo
}
}

The logger provides the seven logging levels defined in [RFC 5424](http://tools.ietf.org/html/rfc5424): **debug**, **info**, **notice**, **warning**, **error**, **critical**, and **alert**.
The logger provides the eight logging levels defined in [RFC 5424](http://tools.ietf.org/html/rfc5424): **emergency**, **alert**, **critical**, **error**, **warning**, **notice**, **info** and **debug**.

Log::debug($error);
Log::info($error);
Log::notice($error);
Log::warning($error);
Log::error($error);
Log::critical($error);
Log::emergency($error);
Log::alert($error);
Log::critical($error);
Log::error($error);
Log::warning($error);
Log::notice($error);
Log::info($error);
Log::debug($error);

#### Contextual Information

Expand Down

0 comments on commit 092c6ad

Please sign in to comment.