Jonathan Plantey
|
5d5da57b81
|
Normalize call normalizeRecord if necessary (#1906)
* Normalize call normalizeRecord if necessary
* Update patch to always go through format()
* Update JsonFormatterTest.php
* Fix implementation
* Fix test expectations
* Update JsonFormatter.php
---------
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
|
2024-11-11 15:34:03 +01:00 |
|
Jordi Boggiano
|
07cd08e0e4
|
Fix CS
|
2024-06-28 10:48:40 +02:00 |
|
Christoph Dreis
|
3ba77d1d39
|
Use fully-qualified name for native functions (#1887)
|
2024-06-28 10:45:25 +02:00 |
|
Jordi Boggiano
|
47e301d3e2
|
Also add setBasePath to NormalizerFormatter/JsonFormatter
|
2024-06-28 10:39:13 +02:00 |
|
Jordi Boggiano
|
a4471eb05b
|
Merge branch '2.x'
|
2024-04-15 11:22:23 +02:00 |
|
Jordi Boggiano
|
884aa47a05
|
Fix json formatter handling of incomplete classes, fixes #1834
|
2024-04-15 10:56:50 +02:00 |
|
chris
|
8561130215
|
Upgrade to phpunit 10 (#1806)
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
|
2023-06-20 15:56:11 +02:00 |
|
Jordi Boggiano
|
7684fae8fa
|
Merge branch '2.x'
|
2022-07-22 15:51:15 +02:00 |
|
Jordi Boggiano
|
cf0f4b3814
|
Handle __toString to serialize objects which are not json-serializable in JsonFormatter, fixes #1733
|
2022-07-22 15:27:46 +02:00 |
|
Jordi Boggiano
|
7952a83e0c
|
Move phpdoc to native types
|
2022-04-20 09:21:58 +02:00 |
|
Jordi Boggiano
|
2695fa86cd
|
CI fixes
|
2022-04-19 22:16:53 +02:00 |
|
Jordi Boggiano
|
2d006a8472
|
Convert level/levelName to enums (#1656)
|
2022-04-19 21:49:03 +02:00 |
|
Jordi Boggiano
|
5eb9b8ed93
|
Code cleanups
|
2022-03-21 14:18:54 +01:00 |
|
Jordi Boggiano
|
400effdd45
|
Fix some issues, bump phpunit version
|
2022-03-21 14:18:54 +01:00 |
|
Jordi Boggiano
|
35a1e4de9b
|
Fix php8 build
|
2020-07-08 20:53:16 +02:00 |
|
Gabriel Caruso
|
6038dcb21c
|
JsonFormatter: add option to ignore empty context and extra fields
Similar to efe572cb10 .
|
2020-05-15 13:45:36 +02:00 |
|
Jordi Boggiano
|
a8a0dbb778
|
Merge branch '1.x'
|
2019-12-20 14:53:43 +01:00 |
|
theravel
|
9621075c0f
|
Fix JSON formatting of resource type, closes #1410
|
2019-12-20 14:49:27 +01:00 |
|
Jordi Boggiano
|
0ad73a526f
|
CS fixes
|
2018-12-08 18:16:32 +01:00 |
|
Mponos George
|
daed05c3e5
|
Enable JSON encode pretty print (#1236)
|
2018-12-04 10:30:41 +01:00 |
|
Jordi Boggiano
|
c7b12a7497
|
Json formatter should always format context/extra as an object, fixes #1028
|
2018-06-09 17:02:23 +02:00 |
|
Jordi Boggiano
|
800fe2cc1a
|
Migrate maxNormalizeDepth/maxNormalizeItemCount props and setters to NormalizerFormatter
|
2018-06-08 23:09:04 +02:00 |
|
Jordi Boggiano
|
518288c5c5
|
Merge branch '1.x'
|
2018-06-08 22:32:06 +02:00 |
|
Minh-Quan TRAN
|
ada5d30511
|
If context has exactly 1000 items, do not truncate
|
2018-06-08 22:18:08 +02:00 |
|
Tom Rochette
|
68cf3c69d1
|
Allow JsonFormatter maximum normalized depth and maximum number of items per level to be configured in the constructor.
|
2018-06-07 14:15:50 -04:00 |
|
Jordi Boggiano
|
96f4fd718f
|
CS fixes
|
2016-09-25 17:46:38 +02:00 |
|
Jordi Boggiano
|
ec945b60d4
|
Merge branch '1.x'
|
2016-09-18 18:10:42 +02:00 |
|
Nerijus Eimanavičius
|
5587f6bd3b
|
Refactored JsonFormatter tests to more readable structure
|
2016-08-28 01:47:20 +03:00 |
|
Nerijus Eimanavičius
|
6586425a31
|
Better support for PHP7 \Throwable
|
2016-08-28 00:47:02 +03:00 |
|
Jordi Boggiano
|
21dde4dedb
|
Move to strict mode and fix tests
|
2016-05-27 13:44:00 +01:00 |
|
Jordi Boggiano
|
f200e79879
|
CS fixes
|
2016-05-26 20:54:06 +01:00 |
|
Jordi Boggiano
|
912d813c73
|
Add our own DateTime implementation to provide nicer JSON output, fixes #736
|
2016-05-20 21:33:27 +01:00 |
|
Jordi Boggiano
|
e27225dc40
|
Switch to DateTimeImmutable everywhere
|
2016-05-20 20:55:31 +01:00 |
|
Jordi Boggiano
|
d7b415c2c8
|
Make TestCase class available to dependents to help with testing
|
2016-05-20 20:09:02 +01:00 |
|
Javier Spagnoletti
|
e8e1d9efa3
|
Add ability to include exception's stack traces in Monolog\Formatter\JsonFormatter
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
|
2015-12-31 11:24:28 -03:00 |
|
Jordi Boggiano
|
b738a6c04c
|
CS fixes
|
2014-10-17 19:12:45 +01:00 |
|
Jordi Boggiano
|
5e8bb7556b
|
Added $appendNewline flag to the JsonFormatter to enable using it when logging to files, fixes #344
|
2014-04-20 18:38:47 +02:00 |
|
Jordi Boggiano
|
392ef35fd4
|
CS fixes
|
2014-03-23 20:50:26 +01:00 |
|
Adam Pancutt
|
70290e7087
|
Added batch mode tests to JsonFormatter
|
2014-01-21 11:47:47 +00:00 |
|
Jordi Boggiano
|
2bf653b39c
|
Add @covers annotations
|
2011-07-20 00:04:49 +02:00 |
|
Jordi Boggiano
|
61d5a23e41
|
More test coverage of handlers/formatters
|
2011-06-29 19:24:29 +02:00 |
|
Christophe Coevoet
|
c1675c59d8
|
Added the support of a logging context
|
2011-06-01 00:10:38 +02:00 |
|
Christophe Coevoet
|
7ebcc6420f
|
Changed the FormatterInterface to return only the formatted message and added a batch formatting method
|
2011-05-07 00:55:59 +02:00 |
|
Jordi Boggiano
|
6c24217c56
|
Renamed message to record
|
2011-02-25 23:01:43 +01:00 |
|
Jordi Boggiano
|
811e6c79d6
|
Added docblocks and fixed a couple tests
|
2011-02-22 12:10:54 +01:00 |
|
Jordi Boggiano
|
3fa6e4b91f
|
Major refactoring to follow the Logbook model
|
2011-02-20 20:53:11 +01:00 |
|