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

33 Commits

Author SHA1 Message Date
Ruud Kamphuis
a258e4fe90 Deprecate DateTimeImmutable (#1928)
Fixes #1926
2024-12-05 15:38:02 +01:00
Christoph Dreis
3ba77d1d39 Use fully-qualified name for native functions (#1887) 2024-06-28 10:45:25 +02: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
Mathias Reker ⚡️
100d0f1625 is null (#1711)
Replaces is_null($var) expression with null === $var.
2022-06-21 22:21:02 +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
7952a83e0c Move phpdoc to native types 2022-04-20 09:21:58 +02: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
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
George Mponos
790ff7fd1d Docblock fixes 2018-12-09 22:31:46 +02: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
Jordi Boggiano
ca3813e31f Merge remote-tracking branch 'nicolas-grekas/anon' into 1.x 2018-11-04 18:00:46 +01:00
Jordi Boggiano
6ab058099c Merge branch '1.x' 2018-11-04 17:18:09 +01:00
Nicolas Grekas
db8130ce83 Add ProcessorInterface, an optional one to allow labelling Monolog processors 2018-10-12 12:14:11 -07:00
Nicolas Grekas
9117a6c747 Fix displaying anonymous classes 2018-09-24 20:18:56 +02:00
Jordi Boggiano
06143b03e5 Add a bunch of return types and fix type inconsistencies reports from phan 2018-07-04 14:14:08 +02:00
Jordi Boggiano
41b8f5ebf4 CS fixes 2018-06-18 18:53:46 +02:00
Jordi Boggiano
bbf9de5c8d Follow useMicroseconds flag when possible 2018-06-18 16:48:08 +02:00
Lars Strojny
85d49f8568 Better PSR-3 message formatting 2018-06-18 12:24:31 +02:00
Jakub Chábek
009d4151b4 PsrLogMessageProcessor: add option to remove used context fields 2017-08-21 09:55:09 +02:00
Piers Warmers
a0406bf8dd Handle DateTime objects in formatted messages (#940)
* Handle DateTime objects in formatted meessages

* Use interface to catch both DateTime and DateTimeImmutable

* Maintain formatting standards.

* Visibility to private.
2017-03-14 08:07:57 +01:00
Jordi Boggiano
6e6586257d Add scalar types to processor/formatters and top level classes 2016-09-25 21:23:35 +02:00
Jordi Boggiano
21dde4dedb Move to strict mode and fix tests 2016-05-27 13:44:00 +01:00
Jordi Boggiano
f200e79879 CS fixes 2016-05-26 20:54:06 +01:00
Jordi Boggiano
b3f039339d Support objects/arrays/resources a bit better, refs #410 2014-09-10 16:41:01 +01:00
Harry Truong
2c80f5d0d5 PsrLogMessageProcessor updated to add valid string conversion conditions 2014-08-07 13:07:19 -04:00
Jordi Boggiano
7913cd2c4d Add psr/log compatibility 2013-01-04 17:20:27 +01:00