1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-19 03:11:19 +02:00

270 Commits

Author SHA1 Message Date
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
Jordi Boggiano
41b8f5ebf4 CS fixes 2018-06-18 18:53:46 +02:00
Jordi Boggiano
7346e5fe36 Merge pull request #1170 from mpdude/include_trace_for_previous
Include stacktraces for "previous" excpetions in LineFormatter
2018-06-18 17:57:31 +02:00
Matthias Pigulla
c04f66ed54 Include stacktraces for "previous" excpetions in LineFormatter 2018-06-18 17:41:09 +02:00
Jordi Boggiano
873ac681a6 Merge branch '1.x' 2018-06-18 17:27:30 +02:00
Jordi Boggiano
3e92b08956 Avoid information leaks through call_user_func arguments, fixes #1138 2018-06-18 17:21:54 +02:00
Jordi Boggiano
90d343e6a6 Merge pull request #1057 from CarsonF/logstash-context-prefix
Change LogstashFormatter prefix properties to keys
2018-06-18 11:03:19 +02:00
Andrew Berry
0d993d84d1 Normalization of arrays containing self references (#1050)
Backport normalization fix from master to 1.x
2018-06-17 17:27:33 +02: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
Jordi Boggiano
101daad3ce Merge pull request #1133 from DQNEO/compat-phpunit6
Compatible to phpunit6
2018-06-08 16:44:50 +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
3319969e80 Merge branch '1.x' 2018-06-07 17:49:12 +02:00