1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-24 18:16:10 +02:00
Commit Graph

1646 Commits

Author SHA1 Message Date
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
Павел Гвоздь
1c9c3676e6 Added support for working with BufferHandler (#1481)
* Added support for working with BufferHandler

Added `handleBatch` method for TelegramBotHandler and fixed `write` method.

This is necessary to work with BufferHandler, OverflowHandler etc.
2020-12-10 09:51:46 +01:00
Jordi Boggiano
d284c2a35d Merge pull request #1518 from bocharsky-bw/patch-1
Remove duplicated article in PHPDoc comment
2020-12-09 23:31:17 +01:00
Jordi Boggiano
ec146b38bd Build tweaks 2020-12-09 23:22:08 +01:00
Jordi Boggiano
fd305da67b Add support for PHP8 CurlHandler/Socket instead of resources 2020-12-09 16:39:57 +01:00
Jordi Boggiano
c5853b9b0f Improve build 2020-12-09 16:39:34 +01:00
Jordi Boggiano
bd9570d835 Merge branch '1.x' into main 2020-12-09 14:19:00 +01:00
Jordi Boggiano
279cf6a900 Migrate to GH actions, add phpstan 2020-12-09 13:49:22 +01:00
Victor Bocharsky
6087181108 Remove duplicated article in PHPDoc comment 2020-11-30 23:01:43 +02:00
milos
38367d3f48 add support to define writetimeout in ms 2020-11-30 17:42:04 +01:00
milos
1106f259c2 add support to define writetimeout in ms 2020-11-30 17:40:22 +01:00
idevin
6ad9e52f5d remove @internal annotation
getClass is not internal method
2020-11-19 05:48:57 +03:00
Anton Perevoshchikov
1b5dcaad88 Adds return value in handler wrapper 2020-11-07 17:05:17 +03:00
Adrián Paníček
4813c673bd Allow string numeric log levels 2020-10-27 11:04:07 +01:00
Faugère Gaëtan
7640be31a1 Adding Redis Pub/Sub handler (closes #574) 2020-10-01 17:30:47 +02:00
Pierre Lannoy
36e25bafe0 Support for extended RFC5424 timestamp format
As described in [RFC5424 Timestamp format](https://tools.ietf.org/html/rfc5424#section-6.2.3), it is allowed to send second fraction as doted mili (3 digits) or micro (6 digits) in syslog messages. I suggest this modest PR to support it.
2020-09-03 14:22:34 +02:00
Jordi Boggiano
2ff542495a Merge pull request #1485 from vudaltsov/patch-1
Fixed TelegramBotHandler constructor
2020-08-22 12:16:38 +02:00
Jordi Boggiano
b4728db7d3 Merge pull request #1488 from previousnext/path-sockets
Adds support for unix sockets
2020-08-22 12:15:55 +02:00
Koen Eelen
fad3e427c7 Made the check in substr() strict compare to NULL 2020-08-18 16:32:06 +02:00
Koen Eelen
0af0cd8338 BUGFIX substr() broke when passing a NULL because of strict type in case mb mod not installed 2020-08-14 11:41:52 +02:00
Kim Pepper
1eaf4c2bf5 Change protocol 2020-08-14 10:29:13 +10:00
Anton Gorlanov
2d50668658 Speed up Logger::addRecord 2020-08-13 12:53:19 +03:00
Kim Pepper
bf1a76edb4 Adds support for unix sockets 2020-08-13 14:06:38 +10:00
Dino Korah
fa78dd4400 Backport PsrLogMessageProcessor from master (2.x) 2020-08-04 12:09:20 +01:00
Valentin Udaltsov
c282728812 Update TelegramBotHandler.php
Parameters `$level` and `$bubble` are already passed to parent constructor, no need to set them again.

Also setting `$level` without `setLevel()` makes it incomparable as it is not converted to int via `Logger::toMonologLevel()`.
2020-07-27 12:50:54 +03:00
Jordi Boggiano
6541075a8e Merge branch '1.x' 2020-07-23 10:38:28 +02:00
axell-brendow
bcca19cee0 Improve exception message
This exception is commonly thrown in Laravel applications when using Docker.
But it is not clear why the system could not open a file that has read permission
for all users. So, when I came to the code of Monolog I saw that you try to open it
in append mode, so I think that just adding this information could help a lot other
users.
2020-07-23 10:34:11 +02:00
Mponos George
a54cd1f178 Replace call_user_func 2020-07-08 23:02:57 +03:00
Mponos George
53e2c97b0b Static analysis improvements (#1475)
* Static analysis improvements

* Fix review issues
2020-07-08 21:40:29 +02:00
Jordi Boggiano
84342aa0a3 Merge branch '1.x' 2020-07-08 21:27:58 +02:00
Jordi Boggiano
0ae6fd8a09 Fix removing of json options, fixes #1469 2020-07-08 21:09:28 +02:00
Jordi Boggiano
c3a05db90c Fix unique_id in WebProcessor not being disableable, fixes #1470 2020-07-08 21:01:20 +02:00
Jordi Boggiano
71c124b11a Merge pull request #1473 from alexleeelkins/master
Fix grammatical error
2020-07-08 20:59:43 +02:00
Jordi Boggiano
1eafcbf040 Allow null subjects in SwiftMailerHandler, fixes #1479 2020-07-08 11:59:01 +02:00
Mponos George
c6a56f0e33 Allow string also for level 2020-06-22 21:39:58 +03:00
Mponos George
4ef697d912 [Sendgrid] Allow int or string on sendgrid handler 2020-06-22 21:31:17 +03:00
Alex Elkins
27ce3a47d4 Fix grammatical error 2020-06-09 21:43:19 -04:00
Jérémy DECOOL
ec3b35f72c Fix array offset access on null in RavenHandler 2020-06-04 23:13:45 +02:00
Pascal Sommer
7a801dd041 Telegram Handler: support additional API parameters (#1451) 2020-05-22 08:44:02 +02:00
Jordi Boggiano
de87dad98f Fix CS 2020-05-21 17:02:48 +02:00
Jordi Boggiano
5f2ee3292e Merge remote-tracking branch 'neclimdul/SoapFaultObjectFailure' 2020-05-21 17:01:29 +02:00
Jordi Boggiano
eb4dc3aa6b Merge branch '1.x' 2020-05-21 16:59:46 +02:00
Jordi Boggiano
c50950d79e Canonicalize paths when constructing RotatingFileHandler/StreamHandler, fixes #1326 2020-05-21 16:54:57 +02:00
Jordi Boggiano
acd3173c4a Fix SoapFault when detail is nested object, fixes #1431, refs #1462 2020-05-21 16:39:23 +02:00