Monolog follows the PSR-3 logging standard and provides eight log levels, ordered from least to most severe.
| Level | Purpose | Typical Use |
|---|---|---|
debug |
Detailed diagnostic information | Variable dumps, execution flow, development troubleshooting |
info |
General application events | User logins, job starts/completions, API requests |
notice |
Normal but noteworthy events | Configuration changes, unusual but expected conditions |
warning |
Unexpected events that don't stop execution | Deprecated API usage, failed retries, missing optional data |