1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-21 20:35:17 +02:00

2832 Commits

Author SHA1 Message Date
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
0f7b11d383 Merge pull request #1560 from ThomasLandauer/patch-1
Adding anchor to link
2021-07-04 14:16:21 +02:00
Jordi Boggiano
50729e0081 Merge pull request #1557 from Seldaek/phpstan
Add Record/Level/LevelName type aliases and improve phpstan type coverage to level 8
2021-07-04 14:14:34 +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
Thomas Landauer
37ab9fc188 Adding anchor to link 2021-06-25 01:05:59 +02:00
Jordi Boggiano
5c9d9bf43e Merge branch '1.x' into main 2021-05-28 10:33:21 +02:00
Jordi Boggiano
c6b00f0515 Update changelog 1.26.1 2021-05-28 10:32:12 +02:00
Jordi Boggiano
5bf534f052 Merge pull request #1553 from dsch/threadsave-stream-handler
Set StreamHandler stream chunk size, fixes #1552
2021-05-28 10:03:18 +02:00
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