Jordi Boggiano
b3451b008b
Merge branch '2.x' into main
2022-05-10 11:53:02 +02:00
Jordi Boggiano
1dacc790b9
Remove LevelName enum in favor of a Level::getName method, fixes #1667 ( #1668 )
2022-05-10 11:15:16 +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
Jan-Eric Ortgies
709cb93aa6
replace deprecated method calls in GelfMessageFormatter ( #1664 )
...
- the getter/setter methods for file, level and facility are deprecated in gelf v1.1
- add those fields as additional instead, as suggested in the gelf spec (https://docs.graylog.org/v1/docs/gelf#gelf-payload-specification )
- update tests to reflect changes
2022-05-08 23:13:55 +02:00
Jordi Boggiano
1181473f4b
Merge branch '2.x' into main
2022-05-08 23:03:49 +02:00
Jordi Boggiano
bd24765917
ElasticSearch v8 support ( #1662 )
...
* ElasticSearch v8 support
* CI updates
Co-authored-by: Thomas Müller <mimmi20@live.de >
2022-05-08 22:23:46 +02:00
Jordi Boggiano
6627c092d8
Add phpstan strict rules and deprecation rules, fix all related issues
2022-04-24 11:08:10 +02:00
Jordi Boggiano
0dac87975c
Add property types to all properties where possible
2022-04-21 21:58:32 +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
a3ba6445a4
Cleanups
2022-03-21 14:18:56 +01: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
22c8b19358
Add LogRecord class, drop PHP <8.1
2022-03-21 14:18:53 +01:00
Gemma Lynn
b39a394c05
Store native BSON types as-is in the MongoDB formatter ( #1620 )
2022-03-13 21:04:53 +01:00
Jordi Boggiano
4ef5da80ad
Fix CS
2021-07-04 14:04:52 +02:00
patrickkusebauch
76639ef02b
Elastica up to 7 support
2020-12-11 10:55:38 +01:00
Jordi Boggiano
9ce0431191
Add JSON_PARTIAL_OUTPUT_ON_ERROR, closes #1515
2020-12-10 16:22:24 +01:00
Jordi Boggiano
ec146b38bd
Build tweaks
2020-12-09 23:22:08 +01:00
Jordi Boggiano
35a1e4de9b
Fix php8 build
2020-07-08 20:53:16 +02:00
James Gilliland
56a8b31e4b
Assert SoapFail can handle a structured detail
2020-05-15 12:59:17 -05: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
f279285232
Fix tests, invalid UTF-8 is now returning �s instead of being converted to possibly valid ISO-8559-15
2020-05-11 22:18: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
4e19f3c585
Merge branch '1.x'
2019-11-13 10:58:42 +01:00
Jordi Boggiano
f97cc755af
Fix 5.3/5.4 builds
2019-11-12 22:28:59 +01:00
Jordi Boggiano
05f6ed7205
Fix php 5.3 syntax
2019-11-12 22:10:50 +01:00
Jordi Boggiano
0b9ee7e636
Merge branch '1.x'
2019-11-12 21:50:28 +01:00
Jordi Boggiano
12a76ad61e
Fix usages of json_encode which did not handle invalid UTF8 gracefully, fixes #1392
2019-11-12 21:24:23 +01:00
Jordi Boggiano
e1af546a55
Handle detail key of SoapFault being an object, fixes #1391
2019-11-12 20:49:34 +01:00
Jordi Boggiano
9b5deda678
Merge pull request #1290 from versh23/fix-gelp-formtatter
...
use mb_ functions everywhere if possible
2019-08-30 11:20:47 +02:00
Jordi Boggiano
acf8e9e9a3
Merge branch '1.x'
2019-08-30 10:39:21 +02:00
Jordi Boggiano
2efcbcd181
Remove closure stack frames entirely from log
2019-08-30 10:24:17 +02:00
Jordi Boggiano
6688b45ebe
Normalize the way backtraces are normalized and remove args for special cases, fixes #1346
2019-08-16 13:09:47 +02:00
Jordi Boggiano
b78de556de
Merge pull request #1359 from MarioBlazek/feature_upgrade_phpunit_to_v8
...
Upgrade PHPUnit to v8
2019-08-15 21:32:19 +02:00
Mario Blažek
d317cb97d3
Move expectException before the line where exception is thrown
2019-08-13 15:34:48 +02:00
Mario Blažek
37900f9268
Upgrade PHPUnit to v8
2019-08-12 15:20:00 +02:00
Thomas Perez
4e095f38f4
Fix error_handler return type declaration
2019-07-31 22:19:02 +02:00
vershinin_so
ada57dd4a1
use mb_ functions in GelfFormatter
2019-07-08 10:30:25 +03:00
Jordi Boggiano
326472abd1
Merge pull request #1261 from gmponos/remove_assert_internal
...
Remove assertInternalType that it is deprecated
2018-12-26 15:29:23 +01:00
George Mponos
ee350961da
Remove assertInternalType that it is deprecated
2018-12-16 23:46:26 +02:00
andyexeter
897fca0d9b
Add SoapFault exception formatting test
2018-12-15 13:56:25 +00:00
Jordi Boggiano
0ad73a526f
CS fixes
2018-12-08 18:16:32 +01:00
Jordi Boggiano
b978700c05
Merge remote-tracking branch 'akalongman/feature/elasticsearch'
2018-12-08 18:11:25 +01:00
Mponos George
daed05c3e5
Enable JSON encode pretty print ( #1236 )
2018-12-04 10:30:41 +01:00
Jordi Boggiano
bb99e4c699
Tweak const visibility, refs #1228
2018-11-29 20:09:44 +01:00
Avtandil Kikabidze
4c7795d310
Rename ElasticSearch to Elasticsearch
2018-06-27 11:48:39 +04:00
Avtandil Kikabidze
249d1dcb5f
Merge branch 'master' into feature/elasticsearch
...
# Conflicts:
# composer.json
# src/Monolog/Handler/ElasticSearchHandler.php
2018-06-24 20:43:55 +04:00