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

2520 Commits

Author SHA1 Message Date
Jordi Boggiano
377272dd43 Merge pull request #1554 from derrabus/bugfix/datetime-on-8.1
Fix deprecation warning on PHP 8.1
2021-05-28 09:28:55 +02:00
Alexander M. Turek
2e37d0bbd1 Fix deprecation warning on PHP 8.1 2021-05-15 01:18:18 +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
bac1ddd019 Merge pull request #1536 from pryazhnikov/tests_fix_usage_of_deprecated_methods
Stop using deprecated MockBuilder::setMethods in unit tests
2021-04-18 22:27:02 +02:00
Victor Pryazhnikov
812d63b171 Fix of incorrect DynamoDB mock creation
addMethods([]) breaks the methods configured at onlyMethods() call
2021-04-18 21:33:01 +03:00
Victor Pryazhnikov
c7a5ecca6c Fix of DynamoDbClient::formatAttributes
Looks like formatAttributes() was removed before v3,
so switching to method existence check instead of version check
2021-04-04 21:34:05 +03: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
Jordi Boggiano
9c26199756 Merge pull request #1540 from yi-yang-github/main
#1539 fix timezone when it's DateTimeImmutable
2021-04-04 16:10:32 +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
Victor Pryazhnikov
2bc1351c1e Fix of SyslogUdpHandler mock creation
'datetime' value inside of getRecordWithMessage() result is enough,
getDateTime() method is missing & not being used
2021-02-27 15:55:32 +03:00
Victor Pryazhnikov
240a159d44 Fix of PhpAmqpLib\Channel\AMQPChannel mock creation
__destruct was removed in v2.5.0, but version check is impossible
(\PhpAmqpLib\Package::VERSION was introduced in v2.11.1)
2021-02-27 15:36:32 +03:00
Victor Pryazhnikov
67294a3a5f Fix of Predis\Client mock creation
Predis\Client uses __call method to process commands (rPush, lTrim),
getPartialMock() doesn't work with addMethods()
2021-02-27 15:18:06 +03:00
Victor Pryazhnikov
227343f20b Fix of absent formatAttributes method issue 2021-02-27 15:02:13 +03:00
Victor Pryazhnikov
cdba0c5693 Deprecated setMethods() usages moving to onlyMethods() 2021-02-27 14:47:59 +03:00
Jordi Boggiano
c1971982c3 Fix links in docs 2021-02-09 14:27:42 +01:00
Jordi Boggiano
c497cc646a Add docs about reset() 2021-01-27 17:04:26 +01:00
Jordi Boggiano
6e1e1300d6 Merge pull request #1531 from marcvdm/reset-filter-handler
Reset wrapped handler of the FilterHandler
2021-01-27 16:35:09 +01:00
Jordi Boggiano
c6de2d33e9 Merge pull request #1527 from reedy/patch-1
Add phpstan.neon.dist to .gitattributes export-ignore
2021-01-27 16:29:09 +01: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
Sam Reed
0dba253d2d Add phpstan.neon.dist to .gitattributes export-ignore 2021-01-12 09:29:53 +00:00
Jordi Boggiano
78bd7bd333 Fix build badge 2020-12-15 23:21:44 +01:00
Jordi Boggiano
dafbb25974 Set theme jekyll-theme-slate 2020-12-15 23:20:45 +01:00
Jordi Boggiano
8b3a2a0e3f Set theme jekyll-theme-midnight 2020-12-15 23:19:41 +01:00
Jordi Boggiano
1cb1cde8e8 Update changelog 2.2.0 2020-12-14 14:15:25 +01:00
Jordi Boggiano
d9cdb686e0 Merge branch '1.x' into main 2020-12-14 13:57:05 +01:00
Jordi Boggiano
2209ddd84e Update changelog 1.26.0 2020-12-14 13:56:38 +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
patrickkusebauch
79d12135dd Fixed new Url 2020-12-12 22:21:42 +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
1d5456ec07 Clarify support situation in readme, fixes #1506 2020-12-11 10:41:09 +01:00
Jordi Boggiano
af59ed294e Add FluentdFormatter to docs, fixes #1510 2020-12-10 20:20:16 +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
31de09b174 ADd RedisPubSubHandler to docs, refs #1503 2020-12-10 14:40:08 +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