1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-23 05:15:29 +02:00

Update 01-usage.md

The default date format is changed, so edit documents synchronously.
This commit is contained in:
Heier
2019-09-15 12:16:35 +08:00
committed by GitHub
parent a053af62ad
commit 74215b17a2

View File

@@ -206,7 +206,7 @@ write your own (e.g. a multiline text file for human-readable output).
To configure a predefined formatter class, just set it as the handler's field:
```php
// the default date format is "Y-m-d H:i:s"
// the default date format is "Y-m-d\TH:i:sP"
$dateFormat = "Y n j, g:i a";
// the default output format is "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n"
$output = "%datetime% > %level_name% > %message% %context% %extra%\n";