1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-24 06:52:34 +01:00

Update wording for 8 levels of severity and RFC3164 to RFC5424.

This commit is contained in:
Frederic G. MARAND 2012-06-09 13:48:01 +02:00
parent 07aac12c72
commit 3a337f2212

View File

@ -47,7 +47,7 @@ will be created if you don't set one. The formatters normalize and format
incoming records so that they can be used by the handlers to output useful
information.
Custom severity levels are not available. Only the eight RFC 3164 levels (debug,
Custom severity levels are not available. Only the eight RFC 5424 levels (debug,
info, notice, warning, error, critical, alert, emergency) are present for basic
filtering purposes, but for sorting and other use cases that would require
flexibility, you should add Processors to the Logger that can add extra
@ -56,8 +56,9 @@ information (tags, user ip, ..) to the records before they are handled.
Log Levels
----------
Monolog exposes the 8 standard RFC3164 log levels. Although it is possible to
add more by extending the classes you need, these are generally enough.
Monolog supports all 8 logging levels defined in RFC5424, but unless you
specifically need syslog compatibility, it is advised to only use DEBUG, INFO,
WARNING, ERROR, CRITICAL, ALERT.
- **DEBUG** (100): Detailed debug information.