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

1589 Commits

Author SHA1 Message Date
Jordi Boggiano
493d7475e6 Fix type error 2021-09-14 15:30:26 +02:00
Jordi Boggiano
73af18b61a Merge pull request #1572 from mimmi20/main
add check for required extension
2021-09-14 15:25:45 +02:00
Jordi Boggiano
9638f0dfa7 Merge pull request #1573 from mimmi20/add-extension-checks
add checks for required curl extension
2021-09-14 15:25:08 +02:00
Jordi Boggiano
4b47204f78 Fix SocketHandler::getChunkSize return type, fixes #1570, closes #1576 2021-09-14 15:07:52 +02:00
Jordi Boggiano
70fe092867 Simplify memoryIniValueToBytes, tweak code to use less memory overall 2021-09-14 15:01:06 +02:00
jcm
0b22036ab6 Add method in Utils to convert memory values from php_ini into bytes, and use lower amount of chunk size based on memory limit 2021-09-14 14:57:16 +02:00
Jordi Boggiano
f2156cdd55 Tweak some type annotations 2021-08-17 14:13:55 +02:00
Thomas Müller
d76d691acf add checks for required curl extension 2021-07-27 19:50:08 +02:00
Thomas Müller
71cf94a361 add check for required extension 2021-07-27 19:22:53 +02:00
Juan Morales
82ab6a5f4f Fixes php8 non-backward compatible changes (#1568)
* Utils method added to resolve PCRE error messages properly
2021-07-23 09:16:39 +02:00
Jordi Boggiano
d08c09d955 Fix phpstan error 2021-07-23 09:11:20 +02:00
Fabien Villepinte
63e195046c Fix Utils::getClass() with PHP8 (#1563) 2021-07-14 12:57:59 +02:00
Jordi Boggiano
19542ed8ef Normalize @inheritDoc tags, refs #1557 2021-07-08 15:23:09 +02:00
Jordi Boggiano
a6eef7298c Last phpstan fixes 2021-07-05 13:34:03 +02:00
Jordi Boggiano
4b9fdf77ca Fix json formatter to call parent constructor 2021-07-05 13:09:01 +02:00
Thomas Hansen
b2ad71de59 JsonFormatter::normalize() : respect date format from Formatter 2021-07-05 13:09:00 +02:00
Jordi Boggiano
8b5278d8e1 Bump phpstan to level 8 2021-07-04 14:08:43 +02:00
Jordi Boggiano
4ef5da80ad Fix CS 2021-07-04 14:04:52 +02:00
Jordi Boggiano
13d40f953f More type fixes towards level 7 2021-07-04 14:04:52 +02:00
Jordi Boggiano
01d104aa78 Add Record/Level/LevelName type aliases and improve phpstan type coverage to level 6 2021-07-04 14:04:52 +02:00
David Schneider
df3b93b701 Set StreamHandler stream chunk size, fixes #1552
This ensures atomic log record writing to the output stream.
2021-05-07 11:35:18 +02:00
Jordi Boggiano
0dc10f86b8 Merge pull request #1545 from glensc/patch-1
MailHandler: Use array access to compare first character
2021-04-04 18:13:39 +02:00
Elan Ruusamäe
53d53af502 Update to handle empty string 2021-03-27 13:43:44 +02:00
Elan Ruusamäe
0e46f8872c MailHandler: Use array access to compare first character 2021-03-27 12:40:00 +02:00
Yi Yang
f6802992d2 #1539 fix timezone when it's DateTimeImmutable 2021-03-11 15:05:33 -08:00
Marc van der Meulen
7066e39078 When we reset the FilterHandler we should call the handler we are wrapping 2021-01-15 17:25:19 +01:00
Jordi Boggiano
1cb1cde8e8 Update changelog 2020-12-14 14:15:25 +01:00
Jordi Boggiano
546dc0843d Fix comparison 2020-12-14 13:49:05 +01:00
Jordi Boggiano
3ee78ae731 Simplify timeout handling and really allow millisecond precision, refs #1517 2020-12-14 13:34:59 +01:00
Jordi Boggiano
1850160a4f Merge remote-tracking branch 'milos-silni/add-support-ms-writetimeout' into main 2020-12-14 13:29:15 +01:00
Jordi Boggiano
ff4378dfbe Mark elasticaFormatters $type arg as deprecated 2020-12-14 13:26:29 +01:00
Jordi Boggiano
5fbd261d89 Merge pull request #1523 from patrickkusebauch/feature/Elastica
Support for Elastica client up to v7.0.0, with optional drop support for ES types
2020-12-14 13:16:06 +01:00
Jordi Boggiano
9fc7a8a810 Allow changing the date format after normalizer creation, fixes #1459 2020-12-11 13:31:25 +01:00
Jordi Boggiano
61e5ff2b36 Fix more instances of bad FormattableHandlerInterface usages 2020-12-11 13:11:50 +01:00
patrickkusebauch
76639ef02b Elastica up to 7 support 2020-12-11 10:55:38 +01:00
Jordi Boggiano
863670fa94 Avoid sending unicode chars in headers for Wildfire/FirePHPHandler/ChromePHPHandler, fixes #1521 2020-12-10 17:14:28 +01:00
Jordi Boggiano
9ce0431191 Add JSON_PARTIAL_OUTPUT_ON_ERROR, closes #1515 2020-12-10 16:22:24 +01:00
Jordi Boggiano
d356586239 Type hint fixes 2020-12-10 16:04:54 +01:00
Jordi Boggiano
f8c98ee2ba Fix typo 2020-12-10 14:56:54 +01:00
Jordi Boggiano
80644c65ed Remove unnecessary condition 2020-12-10 14:56:28 +01:00
Jordi Boggiano
9ab131c225 Merge pull request #1503 from gfaugere/redispubsub
Adding Redis Pub/Sub handler (closes #574)
2020-12-10 14:32:30 +01:00
Jordi Boggiano
df4d93f148 Simplify addRecord further by doing a single foreach over all handlers, refs #1489 2020-12-10 14:30:02 +01:00
Jordi Boggiano
c203cf84b5 Merge remote-tracking branch 'AntonAcc/speed-up-add-record' into main 2020-12-10 14:05:33 +01:00
Jordi Boggiano
4b4b17256b Merge branch '1.x' into main 2020-12-10 12:09:26 +01:00
Jordi Boggiano
7a2ee8d603 Merge pull request #1514 from idevin/patch-1
remove @internal annotation
2020-12-10 11:08:42 +01:00
Jordi Boggiano
5881690949 Merge pull request #1512 from perevoshchikov/fix/handler-wrapper
Adds return value in handler wrapper
2020-12-10 11:04:50 +01:00
Jordi Boggiano
6165cdc115 Merge pull request #1507 from adrianpanicek/master
Allow string numeric log levels
2020-12-10 11:02:32 +01:00
Jordi Boggiano
bf794fe18a Merge pull request #1496 from Pierre-Lannoy/patch-1
Support for extended RFC5424 timestamp format
2020-12-10 10:00:58 +01:00
Jordi Boggiano
e6e43ca097 Use Utils::jsonEncode to encode json correctly 2020-12-10 09:57:10 +01:00
Jordi Boggiano
2bb3ffa6e0 Merge remote-tracking branch 'redmatter/backport-psr-log-message-processor-from-v2' into 1.x 2020-12-10 09:55:19 +01:00