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

2606 Commits

Author SHA1 Message Date
Jordi Boggiano
d3f4f48f0f Fix lint task 2020-12-09 13:54:14 +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
Jordi Boggiano
39637a5d0e https 🚀 2020-10-29 16:43:01 +01:00
Adrián Paníček
4813c673bd Allow string numeric log levels 2020-10-27 11:04:07 +01:00
Hugo Alliaume
22fb0872fc chore(doc:formatters): fix typo 2020-10-08 10:22:51 +02: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
bbe10b1e28 Merge pull request #1491 from chrisbarr/patch-1
Minor docs fixes
2020-08-23 13:42:45 +02:00
Chris Barr
8c1efc5a77 Minor docs fixes 2020-08-22 23:37:15 +01: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
Jordi Boggiano
666286a674 Merge pull request #1490 from grubolsch/master
BUGFIX substr() broke when passing a NULL because of strict type
2020-08-22 12:13:44 +02:00
Koen Eelen
a65de500a2 Merge branch 'master' of https://github.com/grubolsch/monolog 2020-08-18 16:32:19 +02:00
Koen Eelen
fad3e427c7 Made the check in substr() strict compare to NULL 2020-08-18 16:32:06 +02:00
Koen Eelen
515621a0bb Delete test.php 2020-08-14 19:53:15 +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
a05c1a9732 Fix broken unit tests 2020-08-04 12:25:34 +01: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
f9eee5cec9 Update changelog 2.1.1 2020-07-23 10:41:23 +02:00
Jordi Boggiano
6541075a8e Merge branch '1.x' 2020-07-23 10:38:28 +02:00
Jordi Boggiano
1817faadd1 Update changelog 1.25.5 2020-07-23 10:35:51 +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
Jordi Boggiano
69b585feff Merge pull request #1480 from gmponos/remove-call-user-func
Replace call_user_func
2020-07-09 10:32:21 +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
6eee2fa4d4 Merge pull request #1472 from jdecool/avoid-array-accesson-on-null
Fix array offset access on null in RavenHandler
2020-07-08 21:00:48 +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
35a1e4de9b Fix php8 build 2020-07-08 20:53:16 +02:00
Jordi Boggiano
1eafcbf040 Allow null subjects in SwiftMailerHandler, fixes #1479 2020-07-08 11:59:01 +02:00
Jordi Boggiano
62700a29cc Merge pull request #1478 from gmponos/patch-2
Allow int or string on handlers as level
2020-07-08 11:40:54 +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
Jordi Boggiano
ed2a226ebe Merge pull request #1467 from abdounikarim/patch-1
Update 01-usage.md
2020-06-02 10:06:32 +02:00
Mponos George
b132524d9d Various minor changes to docs (#1468)
* Various minor changes to docs

* Revert failOnRisk and failOnWarning
2020-06-02 10:06:18 +02:00
Abdouni Abdelkarim
148a26ae5a Update 01-usage.md
Hello,

I just update a code to use the array short syntax.
And i also correct highlight syntax.

😉
2020-06-01 10:39:40 +02:00
Jordi Boggiano
38914429aa Remove allow_failures flag from php 8 2.1.0 2020-05-22 10:12:19 +02:00