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
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
Alex Jose
5129feea3e
Added user_agent to the WebProcessor ( #1613 )
2022-03-06 13:27:57 +01:00
Jordi Boggiano
4ef5da80ad
Fix CS
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
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
George Mponos
73f2639237
Docblock fixes
2018-12-09 21:46:17 +02: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
Lesnykh Ilia
e5ff7eb074
Use coalesce operator ( #982 )
...
* Use coalesce operator
* Use coalesce operator
* Use coalesce operator
* Use coalesce operator
2017-05-08 11:13:42 +02: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
80c4bfb9fd
Restore filtering behavior, refs #663
2015-10-14 14:12:50 +01:00
Jordi Boggiano
0a2e4237d3
Allow overriding of extra fields and configuring them fully in the constructor, fixes #663
2015-10-14 14:09:16 +01:00
Jordi Boggiano
b738a6c04c
CS fixes
2014-10-17 19:12:45 +01:00
Jordi Boggiano
0edd89d556
CS fixes
2014-09-29 23:07:02 +01:00
Menno Holtkamp
49c469668a
Allow to add extra fields
2014-08-03 15:48:29 +02:00
Jordi Boggiano
68f8b1a27e
Update docblock
2014-07-19 19:25:20 +02:00
Dawid Nowak
6a4b73468e
WebProcessor: option to add only requested extra fields, instead of always adding all available
2014-07-01 20:41:03 +02:00
Dawid Nowak
9aba3242f6
WebProcessor: extra fields appended in a loop over declared values, instead of copy-pasting
2014-07-01 20:25:13 +02:00
Dawid Nowak
9da894a8b3
WebProcessor: extracted method: appendExtraFields()
2014-07-01 20:21:25 +02:00
Matthias Pigulla
540afb4621
Add unique_id to extra data only if present in the server environment
2013-10-10 10:04:29 +02:00
Matthias Pigulla
a2b77b2750
Add Apache mod_unique_id's identifier in WebProcessor
...
mod_unique_id can add a unique ID to every request and also add it to other logfiles. This makes it easy to correlate lines from different logs belonging to the same request. http://httpd.apache.org/docs/2.2/mod/mod_unique_id.html
2013-10-08 14:31:56 +02:00
Jordi Boggiano
5811217e4c
Only access server data when it is actually available, fixes #164
2013-02-20 13:37:17 +01:00
Jordi Boggiano
da33c84d07
CS fixes
2012-06-14 15:47:01 +02:00
Jordi Boggiano
3c4bc178cc
Rename referer->referrer and server_name->server, update changelog
2012-04-22 11:26:54 +02:00
Jordi Boggiano
a435b8ee0f
Merge remote-tracking branch 'fixe/webprocessor-referer'
...
Conflicts:
src/Monolog/Processor/WebProcessor.php
2012-04-22 11:22:27 +02:00
Tiago Ribeiro
c8c231f177
Added referer to extra parameter
2012-04-20 16:44:33 +01:00
Marc Abramowitz
365f3a932d
Add contents of $_SERVER['SERVER_NAME'] as 'server_name'. Useful for
...
figuring out the source of log messages when you have a lot of vhosts.
2012-04-20 08:08:33 -07:00
Jordi Boggiano
cf247ca0ac
Skip WebProcessor on CLI, fixes #36
2011-07-06 15:37:50 +02:00
Jordi Boggiano
2a2d9afd9f
Update docblock
2011-07-04 21:31:09 +02:00
Jordi Boggiano
78a26a3f4f
Tested WebProcessor
2011-06-29 18:58:40 +02:00
Jordi Boggiano
ea466fa848
Removed second param from processors
2011-04-08 13:53:30 +02:00
Christophe Coevoet
87332a3e4e
Added phpdoc for all methods and added the typehint for the FormatterInterface
2011-04-06 00:50:18 +02:00
Jordi Boggiano
6c24217c56
Renamed message to record
2011-02-25 23:01:43 +01:00
Jordi Boggiano
811e6c79d6
Added docblocks and fixed a couple tests
2011-02-22 12:10:54 +01:00
Jordi Boggiano
3fa6e4b91f
Major refactoring to follow the Logbook model
2011-02-20 20:53:11 +01:00