Jordi Boggiano
cd82b50691
Fix phpstan
2025-03-20 10:26:28 +01:00
Jordi Boggiano
5cf826f299
Update changelog
2.10.0
2024-11-12 13:43:37 +01:00
Jordi Boggiano
d2d0341604
Fix patch
2024-11-11 22:29:51 +01:00
Jordi Boggiano
d57089bf87
Fix RotatingFileHandler bug where rotation could sometimes not happen correctly, fixes #1905
2024-11-11 22:15:37 +01:00
Jordi Boggiano
0779fb91e5
Close and reopen file handles if a write fails ( #1882 )
...
* Close file handle after each write, refs #1862 , refs #1860 , refs #1634
* Modify patch to retry writes once if they fail, then throw if not
* Fix php7.2 build
2024-11-11 20:08:58 +01:00
Jordi Boggiano
b92508d0d7
Fix build
2024-11-11 14:06:20 +01:00
Pedro Peixoto
8ae546b2b9
Allow the user to define a custom mode when fopen
-ing a log file ( #1913 )
...
* Allow the user to define a custom mode when `fopen`-ing a log file
* Undo unnecessary changes
---------
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be >
2024-11-11 10:26:15 +01:00
Jordi Boggiano
23560e32b1
Update CI ( #1909 )
...
* Update CI
* Fix deprecation warning
* Fix types
2024-08-27 09:31:25 +02:00
Jordi Boggiano
884aa47a05
Fix json formatter handling of incomplete classes, fixes #1834
2024-04-15 10:56:50 +02:00
Jordi Boggiano
233e0b27a0
Ensure private error handler does not cause problems, fixes #1866
2024-04-15 10:17:33 +02:00
Jordi Boggiano
a30bfe2e14
Update changelog
2.9.3
2024-04-12 22:52:51 +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
Christian Flothmann
b0a861a9cc
explicitly mark nullable parameters as nullable ( #1874 )
2024-04-12 09:48:58 +02:00
Jordi Boggiano
437cb3628f
Update changelog
2.9.2
2023-10-27 17:25:26 +02:00
Jordi Boggiano
531ed6d873
enforce string value for safety
2023-10-27 14:14:00 +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
李铭昕
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
0ff87cf321
Fix display_errors handling to handle string values, fixes #1804
2023-06-21 10:44:08 +02:00
Danny van der Sluijs
975a02f765
ci: Update to use GitHub Actions V3 ( #1812 )
2023-06-20 15:08:09 +02: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
e1c0ae1528
Update changelog
2.9.0
2023-02-05 14:07:32 +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
Alex
3b866c9185
GitHub Workflows security hardening ( #1763 )
...
Signed-off-by: Alex <aleksandrosansan@gmail.com >
2023-02-04 22:29:31 +01:00
Bart Swaalf
8255feb444
Add support for enum context values to psr formatter ( #1773 )
2023-02-04 16:05:18 +01:00
Jordi Boggiano
6459aeb4a7
Fix ignores
2023-02-04 15:53:31 +01:00
Niklas Keller
0f014206a4
Fix cycle detection within fibers ( #1753 )
...
* Fix cycle detection within fibers
We keep a separate depth count per fiber.
Fixes #1752 .
* Avoid additional call to Fiber::getCurrent()
Suppresses phpstan errors, as they're false positives.
2023-02-04 15:49:17 +01:00
Mikhail Popov
58f503004d
Fix setting of extra attributes in AmqpHandler when handling batches of records ( #1781 )
...
One of content_type, content_encoding, message_id, user_id, app_id, delivery_mode, priority, timestamp, expiration, type or reply_to, headers.
Co-authored-by: Попов Михаил <popov.mv@betcity.ru >
2023-02-04 15:46:32 +01:00
Luís Cobucci
e937256eee
Fix date/time field for GCP logging ( #1758 )
...
We introduced the formatter using the incorrect field, which was making GCP not to extract the correct value from the payload.
This uses the field that actually maps to the expected format.
More info: https://cloud.google.com/logging/docs/structured-logging
2023-02-04 15:38:57 +01:00
Rod Elias
1387e02612
Add .editorconfig file ( #1768 )
...
See: https://editorconfig.org/
2022-10-14 17:01:04 +02:00
Jordi Boggiano
6a28e9d41a
Use facility additional value and not channel to be compat with existing Monolog 3 code
2022-08-20 15:05:05 +02:00
Jordi Boggiano
6bf3b35b80
Deprecate FlowdockHandler and formatter as the service was shutdown, fixes #1748
2022-08-20 14:12:43 +02:00
Jordi Boggiano
5eccd17dc5
Add graylog2/gelf-php 2.x support, fixes #1747
2022-08-20 14:09:11 +02:00
Jordi Boggiano
132eace138
Fix build
2022-08-02 15:03:47 +03:00
pafernandez-oesia
620dca1126
Update BrowserConsoleHandler console output method ( #1739 )
...
Instead of using console.log for all log levels, it uses debug, info, warn and error methods depending on the log level.
This makes filtering logs easier in the browser console and highlights error level messages.
2022-08-02 13:47:03 +02:00
Jordi Boggiano
720488632c
Update changelog
2.8.0
2022-07-24 13:55:47 +02:00
Jordi Boggiano
4b4fad9476
Fix serialization to include private properties, fixes #1727 , fixes phpro/grumphp#1020
2022-07-22 20:49:07 +02:00
Lusso Luca
ffd505543c
Add RFC 5424 level (7 to 0) support to Logger::log and Logger::addRecord, fixes #1686 ( #1723 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be >
2022-07-22 16:46:43 +02:00