mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Update wording for 8 levels of severity and RFC3164 to RFC5424.
This commit is contained in:
@@ -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
|
incoming records so that they can be used by the handlers to output useful
|
||||||
information.
|
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
|
info, notice, warning, error, critical, alert, emergency) are present for basic
|
||||||
filtering purposes, but for sorting and other use cases that would require
|
filtering purposes, but for sorting and other use cases that would require
|
||||||
flexibility, you should add Processors to the Logger that can add extra
|
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
|
Log Levels
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Monolog exposes the 8 standard RFC3164 log levels. Although it is possible to
|
Monolog supports all 8 logging levels defined in RFC5424, but unless you
|
||||||
add more by extending the classes you need, these are generally enough.
|
specifically need syslog compatibility, it is advised to only use DEBUG, INFO,
|
||||||
|
WARNING, ERROR, CRITICAL, ALERT.
|
||||||
|
|
||||||
- **DEBUG** (100): Detailed debug information.
|
- **DEBUG** (100): Detailed debug information.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user