1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-21 04:11:47 +02:00

2832 Commits

Author SHA1 Message Date
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
Nicolas Grekas
9546d94bdc Use @return $this where applicable (#1828) 2023-08-03 14:04:37 +02:00
李铭昕
1b93764d15 Fixed bug that restore_error_handler will not be executed if there is an exception before restore should happen (#1815) 2023-06-22 08:44:58 +02:00
Jordi Boggiano
426e42795c Fix phpstan error 2023-06-21 17:17:59 +02:00
Jordi Boggiano
e239236968 Merge branch '2.x' 3.4.0 2023-06-21 10:46:11 +02:00
Jordi Boggiano
0ff87cf321 Fix display_errors handling to handle string values, fixes #1804 2023-06-21 10:44:08 +02:00
liutao
8c70660c17 Fix support of yearly and monthly rotation log file to rotate only once a month/year (#1805)
Co-authored-by: liutao <liutao@ifun.com>
Co-authored-by: liutao02 <liutao02@xiaoduotech.com>
2023-06-21 10:37:30 +02:00
Samson Endale
1fd8e8c2c7 Add TelegramBotHandler topics support (#1802) 2023-06-20 16:42:38 +02:00
Roy
4356885fbb Add support for priority in the Monolog bundle (https://github.com/symfony/monolog-bundle/pull/455) (#1797)
Co-authored-by: Roy <rdmartines@vcn.nl>
2023-06-20 16:37:16 +02:00
Johan Vlaar
dc4bc7e660 Add LoadAverageProcessor (#1803)
Co-authored-by: johan Vlaar <johan@adivare.nl>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2023-06-20 16:13:13 +02:00
chris
8561130215 Upgrade to phpunit 10 (#1806)
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
2023-06-20 15:56:11 +02:00
Jordi Boggiano
50409b8169 openlog never fails on php8.2 so remove check 2023-06-20 15:48:38 +02:00
chris
521186e355 chore: use stable version of graylog2/gelf-php (#1807)
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
2023-06-20 15:45:52 +02:00
Danny van der Sluijs
975a02f765 ci: Update to use GitHub Actions V3 (#1812) 2023-06-20 15:08:09 +02:00
Danny van der Sluijs
d4f54b1077 ci: Update to use GitHub Actions V3 (#1812) 2023-06-20 15:07:41 +02:00
Jordi Boggiano
8941155d2f Fix phpstan errors, update baseline 2023-06-20 14:43:04 +02:00
Pitchaya Boonsarngsuk
06276fcf77 FingersCrossedHandler fix passthruLevel checking (Fixes #1800) (#1801) 2023-06-20 14:19:37 +02:00
Alexander Dmitryuk
b05bf55097 TestHandler misleadings (#1794)
* TestHandler misleasleadings

* change other methods
2023-03-10 15:05:37 +01:00
Antoine Makdessi
d3d495b742 Update README.md (#1793) 2023-02-20 13:31:07 +01:00
Jordi Boggiano
a340248d5f Add php 8.2 build 2023-02-06 14:47:36 +01:00
Jordi Boggiano
9b5daeaffc Merge branch '2.x' 3.3.1 2023-02-06 14:46:10 +01:00
Jordi Boggiano
f259e2b15f Add types 2.9.1 2023-02-06 14:44:46 +01:00
Jordi Boggiano
c8b1e0e789 Fix serialization implementation 2023-02-06 14:43:38 +01:00
Jordi Boggiano
3e92e9d243 Update changelog 2023-02-06 14:34:37 +01:00
Jordi Boggiano
2ae044482c Fix serializability of Logger class, fixes #1792 2023-02-06 14:33:41 +01:00
Jordi Boggiano
852643b696 Merge branch '2.x' 3.3.0 2023-02-06 14:12:20 +01:00
Jordi Boggiano
e1c0ae1528 Update changelog 2.9.0 2023-02-05 14:07:32 +01:00
Jordi Boggiano
76dc21188e Merge branch '2.x' 2023-02-04 23:11:46 +01:00
Antoine Makdessi
2f34389f69 Update message-structure.md (#1774) 2023-02-04 22:54:05 +01:00
Tetragramat
1f25f9b343 WhatFailureGroupHandler catches failures in method close (#1791) 2023-02-04 22:53:22 +01:00
Jordi Boggiano
7c04005a28 Ignore enum errors 2023-02-04 22:41:51 +01:00