Skip to content

Commit 092c6ad

Browse files
committed
Added emergency level to docs
Added the emergency level to the docs and ordered in in the same way as in RFC 5424.
1 parent abfaab5 commit 092c6ad

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

errors.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,16 @@ The Laravel logging facilities provide a simple layer on top of the powerful [Mo
142142
}
143143
}
144144

145-
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**.
145+
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**.
146146

147-
Log::debug($error);
148-
Log::info($error);
149-
Log::notice($error);
150-
Log::warning($error);
151-
Log::error($error);
152-
Log::critical($error);
147+
Log::emergency($error);
153148
Log::alert($error);
149+
Log::critical($error);
150+
Log::error($error);
151+
Log::warning($error);
152+
Log::notice($error);
153+
Log::info($error);
154+
Log::debug($error);
154155

155156
#### Contextual Information
156157

0 commit comments

Comments
 (0)