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

164 Commits

Author SHA1 Message Date
Ruud Kamphuis
a258e4fe90 Deprecate DateTimeImmutable (#1928)
Fixes #1926
2024-12-05 15:38:02 +01:00
Jordi Boggiano
f43e3d5637 Upgrade phpstan, phpunit (#1923)
* Upgrade phpstan, phpunit

* Fix phpunit deprecation

* Fix hg tests

* Fix php-console tests

* Fix phpunit on 8.1

* Bump phpconsole
2024-11-11 15:21:55 +01:00
Luboš Hubáček
3327c29d37 Make IntrospectionProcessor extendable (#1899) 2024-08-27 09:51:08 +02:00
Jordi Boggiano
07cd08e0e4 Fix CS 2024-06-28 10:48:40 +02:00
Christoph Dreis
3ba77d1d39 Use fully-qualified name for native functions (#1887) 2024-06-28 10:45:25 +02:00
Nicolas Grekas
9546d94bdc Use @return $this where applicable (#1828) 2023-08-03 14:04:37 +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
Subhan Shamsoddini
0a60d6922a replace isset with coalesce operator (#1761) 2023-02-04 21:51:56 +01:00
Jordi Boggiano
c424dbc6a5 Merge branch '2.x' 2023-02-04 16:24:57 +01:00
Bart Swaalf
8255feb444 Add support for enum context values to psr formatter (#1773) 2023-02-04 16:05:18 +01:00
Sergey Rabochiy
e18aa33d2f Add ClosureContextProcessor (#1745)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2023-02-04 15:24:39 +01:00
Grégoire Pineau
5df3238664 Fix bug with level in GitProcessor (#1749) 2022-08-17 23:30:28 +02:00
Mathias Reker ⚡️
100d0f1625 is null (#1711)
Replaces is_null($var) expression with null === $var.
2022-06-21 22:21:02 +02:00
Jordi Boggiano
417c27dc72 Remove return type from ProcessorInterface to fix interop with Monolog 2, fixes #1680 2022-06-09 10:11:53 +02:00
Jordi Boggiano
1dacc790b9 Remove LevelName enum in favor of a Level::getName method, fixes #1667 (#1668) 2022-05-10 11:15:16 +02:00
Jordi Boggiano
6627c092d8 Add phpstan strict rules and deprecation rules, fix all related issues 2022-04-24 11:08:10 +02:00
Jordi Boggiano
0dac87975c Add property types to all properties where possible 2022-04-21 21:58:32 +02:00
Jordi Boggiano
7952a83e0c Move phpdoc to native types 2022-04-20 09:21:58 +02:00
Jordi Boggiano
2695fa86cd CI fixes 2022-04-19 22:16:53 +02:00
Jordi Boggiano
2d006a8472 Convert level/levelName to enums (#1656) 2022-04-19 21:49:03 +02:00
Jordi Boggiano
6b5bd6af5b More cleanups 2022-03-21 14:18:55 +01:00
Jordi Boggiano
5eb9b8ed93 Code cleanups 2022-03-21 14:18:54 +01:00
Jordi Boggiano
22c8b19358 Add LogRecord class, drop PHP <8.1 2022-03-21 14:18:53 +01:00
Jordi Boggiano
77b71e0baf Fix syntax 2022-03-18 10:43:11 +01:00
jszczypk
f0e0dbaa52 added information about call type from debug_backtrace (#1612)
$record['extra']['callType'] will contain current call type: "->" or "::" depending if it was normal or static method call.
Gives possibility to nicely format messages "{$record['extra']['class']}{$record['extra']['callType']}{$record['extra']['function']} ..."
2022-03-18 10:31:44 +01:00
Alex Jose
5129feea3e Added user_agent to the WebProcessor (#1613) 2022-03-06 13:27:57 +01:00
Jordi Boggiano
8b5278d8e1 Bump phpstan to level 8 2021-07-04 14:08:43 +02:00
Jordi Boggiano
4ef5da80ad Fix CS 2021-07-04 14:04:52 +02:00
Jordi Boggiano
13d40f953f More type fixes towards level 7 2021-07-04 14:04:52 +02:00
Jordi Boggiano
01d104aa78 Add Record/Level/LevelName type aliases and improve phpstan type coverage to level 6 2021-07-04 14:04:52 +02:00
Jordi Boggiano
4b4b17256b Merge branch '1.x' into main 2020-12-10 12:09:26 +01:00
Jordi Boggiano
e6e43ca097 Use Utils::jsonEncode to encode json correctly 2020-12-10 09:57:10 +01:00
Dino Korah
fa78dd4400 Backport PsrLogMessageProcessor from master (2.x) 2020-08-04 12:09:20 +01:00
Jordi Boggiano
84342aa0a3 Merge branch '1.x' 2020-07-08 21:27:58 +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
ded9976021 Merge branch '1.x' 2020-05-11 21:43:55 +02:00
Henrique Serrat
280f6a131f Check that is not null before calling preg_match 2020-03-13 11:25:08 -03:00
Jordi Boggiano
a81f62df48 Merge pull request #1316 from keksa/feature/fix-processor-interface
fix ProcessorInterface
2019-07-02 16:13:21 +02:00
Ondrej Exner
c5cacaa121 fix ProcessorInterface 2019-04-17 16:06:03 +02:00
The Digital Orchard
0b76b0b36a avoid function call when not needed; use single variable instead of two 2019-01-25 17:44:25 -08:00
George Mponos
c99682466f Fix docblocks 2018-12-10 21:07:13 +02:00
George Mponos
208381d43e added more docblock fixes 2018-12-09 22:48:48 +02:00
George Mponos
790ff7fd1d Docblock fixes 2018-12-09 22:31:46 +02:00
George Mponos
73f2639237 Docblock fixes 2018-12-09 21:46:17 +02:00
Jordi Boggiano
0ad73a526f CS fixes 2018-12-08 18:16:32 +01:00
Jordi Boggiano
a7984a640f Merge remote-tracking branch 'gmponos/add_visibility_to_constants' 2018-11-29 19:41:58 +01:00
Jordi Boggiano
4a33226f25 Wrap up type-hint adding to all handlers 2018-11-19 23:28:33 +01:00
George Mponos
c68b71edeb Add visibility to constants 2018-11-17 20:38:51 +02:00
Jordi Boggiano
073c5d763a Merge branch '1.x' 2018-11-04 18:40:32 +01:00
Jordi Boggiano
42d84e6a8d Move getClass method to a Utils class, refs #1190 2018-11-04 18:23:20 +01:00