1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-29 17:30:14 +02:00

37 Commits

Author SHA1 Message Date
Pavel Bychko
320909a1d1 Fix replaceNewlines method to avoid replacing escaped backslashes, closes #1721, fixes #1720 2022-07-22 16:05:32 +02:00
Lito
c709906d0a [2.X] Allow stacktraces parser on LineFormatter (#1665)
* Allow stacktraces parser on LineFormatter

* Added includeStacktraces parse tests
2022-05-09 22:37:14 +02:00
James Gilliland
56a8b31e4b Assert SoapFail can handle a structured detail 2020-05-15 12:59:17 -05:00
andyexeter
897fca0d9b Add SoapFault exception formatting test 2018-12-15 13:56:25 +00:00
Matthias Pigulla
c04f66ed54 Include stacktraces for "previous" excpetions in LineFormatter 2018-06-18 17:41:09 +02:00
Jordi Boggiano
ca4ffa68f6 Use namespaced phpunit classes, fixes #983 2017-06-19 00:48:54 +02:00
Jordi Boggiano
bb61bfbe3b When newlines are allowed in LineFormatter, unpack json_encoded blobs containing newlines into multiline strings, fixes #752 2016-09-25 18:22:52 +02: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
2ff7afda31 Change the way objects are normalized to avoid multi-levels of json encoding, fixes #560 2016-05-26 19:21:47 +01:00
Jordi Boggiano
e27225dc40 Switch to DateTimeImmutable everywhere 2016-05-20 20:55:31 +01:00
Jordi Boggiano
25131bb5f6 Add context.* replacement in line formatter, fixes #717 2016-03-01 16:58:06 +00:00
Jordi Boggiano
c889fb2648 CS fixes & upgrading cs fixer config 2015-11-18 17:09:46 +00:00
Henrique Moody
50fb249739 Better normalization for resources 2015-08-20 15:01:24 -03:00
Jordi Boggiano
ca1376bd61 CS fixes 2015-07-14 10:26:05 +01:00
Jordi Boggiano
1a1f506f0e Fix up #546 to json serialize correctly 2015-06-01 21:42:42 +01:00
Sergey Chizhik
21c54ac660 fix 2014-12-05 14:36:37 +02:00
Sergey Chizhik
7902b8c396 Add exception code 2014-12-04 18:42:38 +02:00
Dawid Nowak
efe572cb10 LineFormatter: context and extra optionally not shown when empty 2014-07-03 15:03:28 +02:00
Gunnar Lium
2aa09265fc Strip inline line breaks from LineFormatter entries. 2014-02-14 14:35:44 +01:00
Sergey Rabochiy
e012bf1b63 Fix boolean to string convertation. Fix double normalization.
Details bug:
$context = ["false", false]; // formatted as {"0":"false","1":"false"} when need {"0":"false","1":false}
2013-11-29 16:09:42 +07:00
Jordi Boggiano
642cdf620b Add support for previous exceptions in LineFormatter 2013-04-07 13:22:41 +02:00
Jordi Boggiano
dd0b216e02 Fix tests 2013-03-18 19:06:02 +01:00
Jordi Boggiano
8fcb833b5c Fix tests 2013-03-18 18:56:14 +01:00
Jordi Boggiano
eaf2b07120 Serialize exceptions in a minimalistic way in the LineFormatter 2013-03-17 19:26:08 +01:00
Jordi Boggiano
a929570bb7 Fix json encoding, fixes #110 2012-09-05 21:32:46 +02:00
Jordi Boggiano
da33c84d07 CS fixes 2012-06-14 15:47:01 +02:00
Jordi Boggiano
0bd4d93006 Split off line formatter in normalizer + line formatters 2012-04-22 12:36:23 +02:00
Christophe Coevoet
10e5ecd409 Added some tests 2011-08-29 15:00:28 +02:00
Jordi Boggiano
2bf653b39c Add @covers annotations 2011-07-20 00:04:49 +02:00
Jordi Boggiano
9c2f081c9a Add support for serializing resources in LineFormatter 2011-06-29 19:23:43 +02:00
Christophe Coevoet
c1675c59d8 Added the support of a logging context 2011-06-01 00:10:38 +02:00
Christophe Coevoet
0775b03de0 Added support of objects and arrays as values in LineFormatter. closes #19 2011-05-08 19:29:58 +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
0bb419cb95 Added array output to LineFormatter 2011-02-23 10:57:27 +01:00
Jordi Boggiano
3fa6e4b91f Major refactoring to follow the Logbook model 2011-02-20 20:53:11 +01:00