1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-29 07:50:05 +02:00

2762 Commits

Author SHA1 Message Date
Jordi Boggiano
4b18b21a55 Update changelog 3.6.0 2024-04-12 23:02:21 +02:00
Jordi Boggiano
a0860dd076 Merge branch '2.x' 2024-04-12 22:54:39 +02:00
Jordi Boggiano
a30bfe2e14 Update changelog 2.9.3 2024-04-12 22:52:51 +02:00
Jordi Boggiano
84638a5926 Add test for setBasePath functionality, refs #1873 2024-04-12 22:41:20 +02:00
cesarreyes3
24e0e454d9 Remove base path on LineFormatter (#1873) 2024-04-12 22:37:56 +02:00
cracksalad
c48c642b9a [#1878] User definable duplication for DeduplicationHandler (#1879) 2024-04-12 17:37:06 +02:00
Jordi Boggiano
613eaea74b Fix group annotations 2024-04-12 17:30:46 +02:00
Jordi Boggiano
b127292ee0 Fix phpunit deprecations 2024-04-12 17:26:33 +02:00
Jordi Boggiano
5b990255a3 Remove curlopt safe upload which is not needed since php5.6 2024-04-12 15:41:24 +02:00
Jordi Boggiano
cdec3b52ad Merge branch '2.x' 2024-04-12 15:36:24 +02:00
Sebastian Muszynski
814ea500f8 Convert GelfMessage into string required by createAmqpMessage (#1869)
* Convert GelfMessage into string required by createAmqpMessage

* Convert object on write() too
2024-04-12 13:51:55 +02:00
Jordi Boggiano
e7455b7942 Bump actions/cache 2024-04-12 13:44:53 +02:00
Jordi Boggiano
d1422610e9 Fix PHP 8.4 build error 2024-04-12 13:43:28 +02:00
Jordi Boggiano
91f225e4b6 Update build 2024-04-12 13:36:30 +02:00
Jordi Boggiano
a9129ee202 Update build matrix 2024-04-12 13:31:51 +02:00
Jordi Boggiano
f771304e25 Update baseline for php8.0 2024-04-12 13:30:45 +02:00
Jordi Boggiano
a1af771439 Allow more modern phpunit 2024-04-12 13:29:18 +02:00
Jordi Boggiano
06f81e4717 Upgrade phpstan 2024-04-12 13:27:23 +02:00
Jordi Boggiano
5223f28d41 Add some docs 2024-04-12 11:21:16 +02:00
Witold Wasiczko
35dab43e3c Include extra in context in PsrHandler (#1852) 2024-04-12 11:00:56 +02:00
Arun Sathiya
000fedbcf2 Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated (#1864)
* Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated

* Quote envvar to match documentation
2024-04-12 10:56:41 +02:00
Vincent Langlet
c4ba76aeae Avoid throwing an exception when the toString fails (#1868) 2024-04-12 10:47:57 +02:00
Alies Lapatsin
a693dc25b0 Improve installation instructions (#1871)
Remove `$` as it's not valid terminal command and breaks copy-paste flow.
2024-04-12 10:36:23 +02:00
Luiz “Felds” Liscia
ee7e2fa4df Remove final from class declaration (#1859)
Most (if not all) other classes in the project are not marked as final.

Although it's possible to extend the functionality of this class by using composition, it goes against how the rest of the library works for no apparent reason.

In my use case, I was trying to add a field linking the log entry to a request [as described in the Cloud Logging documentation](https://cloud.google.com/run/docs/logging#correlate-logs).
2024-04-12 09:50:09 +02:00
Christian Flothmann
b0a861a9cc explicitly mark nullable parameters as nullable (#1874) 2024-04-12 09:48:58 +02:00
Jordi Boggiano
479c936d2c Add logo and favicon to export ignore 2023-12-18 11:39:48 +01:00
Jordi Boggiano
6bee67ad21 Add betterstack sponsorship note 2023-12-07 16:58:33 +01:00
Jordi Boggiano
bc3e507096 Update phpstan.neon.dist 2023-11-10 13:33:53 +01:00
Jordi Boggiano
c412c2e0d6 Fix case of Redis::lTrim call 2023-11-10 13:29:35 +01:00
Jordi Boggiano
59c8bdf6a2 Add missing use statement in docs 2023-11-10 13:09:41 +01:00
Jordi Boggiano
c915e26347 Update changelog 3.5.0 2023-10-27 17:32:31 +02:00
Jordi Boggiano
0980b922f4 Merge branch '2.x' 2023-10-27 17:26:03 +02:00
Jordi Boggiano
437cb3628f Update changelog 2.9.2 2023-10-27 17:25:26 +02:00
Jordi Boggiano
681bb4fcab Add logo/favicon, closes #1849 2023-10-27 17:15:21 +02:00
Cosmin Ardeleanu
b0f4bf7eb7 Fix LogRecord "extra" data leaking between handlers (#1819)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2023-10-27 16:54:39 +02:00
Jordi Boggiano
8ff4ab5c94 Add ability to indent stack traces in LineFormatter, fixes #1835 2023-10-27 16:19:09 +02:00
Jordi Boggiano
5d317e2c6f Fix tests usage 2023-10-27 16:09:14 +02:00
Philipp Müller
1feb860c33 Added possibility to set max length for level name in LineFormatter
Closes #1850
2023-10-27 16:07:36 +02:00
Jordi Boggiano
70f6ca05b9 Merge branch '2.x' 2023-10-27 15:26:39 +02:00
Grégoire Pineau
f54263935d Skip mongodb extension if extension is not installed (#1825) 2023-10-27 14:50:45 +02:00
dong
8813064010 Let indexed arrays to support inline linebreaks in LineFormatter (#1818) 2023-10-27 14:31:42 +02:00
Jordi Boggiano
531ed6d873 enforce string value for safety 2023-10-27 14:14:00 +02:00
Chimit
5be54eaa1e Clarified instructions about chat ID for Telegram (#1840) 2023-10-27 14:07:05 +02:00
Egor Korobov
ed80d53ab2 Fix fatal error in NormalizeFormatter: method_exists(): The script tried to execute a method or access a property of an incomplete object.
Closes #1833
Fixes #1834
2023-10-27 14:05:53 +02:00
Jordi Boggiano
70e1c2f405 Fix string interpolation of newline 2023-10-27 13:49:01 +02:00
omerimzali
253d2f1350 Loggly handler loglevel comparison statement fixed (#1841)
Co-authored-by: omerimzali <omer.imzali@gmail.com>
2023-10-27 13:41:44 +02:00
Serhii Petrov
bd1758df12 Test against php 8.3 (#1842) 2023-10-25 15:15:33 +02:00
Saleh Hashemi
311761ba48 update actions/checkout to v4 (#1843) 2023-10-25 15:14:06 +02:00
Christophe Coevoet
add8b2a49f Remove usage of soft-deprecated PHPUnit API (#1848) 2023-10-25 15:13:04 +02:00
Christophe Coevoet
e545d0f444 Add a WithMonologChannel attribute (#1847)
This attribute is meant to be used by frameworks / integrations to
choose which logger instance to inject in a class when they manage
several channels, if they decide to use it.
This attribute will have no effect in Monolog itself as the wiring of
the logger in other classes is not managed by Monolog.
2023-10-25 15:02:25 +02:00