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

34 Commits

Author SHA1 Message Date
Jordi Boggiano
bb99e4c699 Tweak const visibility, refs #1228 2018-11-29 20:09:44 +01:00
Jordi Boggiano
a7984a640f Merge remote-tracking branch 'gmponos/add_visibility_to_constants' 2018-11-29 19:41:58 +01:00
Jordi Boggiano
1c5b0b8ff4 Update return types 2018-11-19 14:40:54 +01:00
George Mponos
c68b71edeb Add visibility to constants 2018-11-17 20:38:51 +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
Pascal
5bb1c5fb4f Check if monolog runs in web context (#1024)
* Check if monolog runs in web context
2018-06-11 17:36:34 +02:00
Jordi Boggiano
bd7b28e5ee Merge branch '1.x' 2018-06-07 18:49:40 +02:00
Erik Booij
ecdfdc9897 Rename Boolean in phpDocs to bool 2017-11-04 12:14:41 +01:00
Jordi Boggiano
dbd8d31277 Remove old BC 2017-06-19 00:57:55 +02:00
Jordi Boggiano
5ce1c921ad Fix type errors, thanks phan 2016-09-25 22:11:37 +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
3d30ba5ecc Add some return type hints and fix up HandlerWrapper 2016-03-01 17:35:54 +00:00
Jordi Boggiano
7567cecfa5 Optimize ChromePHP/FirePHP to skip header generation when they are disabled, refs #360 2014-04-23 15:56:51 +02:00
Hennadiy Verkh
35cd77d7b6 if HTTP_X_FIREPHP_VERSION is set, it should not require the user agent 2014-04-23 15:23:57 +02:00
Hennadiy Verkh
ca4daeb72b Modified ChromePhpHandler and FirePhpHandler to send no headers if no User-Agent is set 2014-04-23 13:55:51 +02:00
Jordi Boggiano
03000a7fcd Only send header when there is a value, refs #352 2014-04-10 17:52:42 +02:00
Jordi Boggiano
957ee8d0d6 Fix idiocy, refs #152 2013-01-22 16:02:20 +01:00
Jordi Boggiano
01bb026750 Add BC for the sendHeaders property, fixes #152 2013-01-22 15:56:28 +01:00
Ryan LaHue
e0d18f454b Make ChromePHPHandler and FirePHPHandler sendHeaders flag static so that when multiple instances of the handler class exist they will all respect the one-time check that determines whether the handler should append its logs to the response header 2013-01-21 13:10:35 -08:00
Jordi Boggiano
da33c84d07 CS fixes 2012-06-14 15:47:01 +02:00
Costin Bereveanu
00057d4a5b Identify FirePHP by the X-FirePHP-Version header 2011-11-11 16:13:58 +02:00
Jordi Boggiano
b704c49a30 Only send FirePHP headers to browser advertising support for it in their user agent 2011-10-24 11:39:02 +02:00
Jordi Boggiano
30f19916d9 Add missing docblock 2011-06-29 19:01:22 +02:00
Christophe Coevoet
c1675c59d8 Added the support of a logging context 2011-06-01 00:10:38 +02:00
Jordi Boggiano
1defa7857f Fixed plugin protocol uri for FirePHPHandler, closes #25 2011-05-16 22:50:16 +02:00
Christophe Coevoet
0defabb726 Refactored the AbstractHandler to avoid having some dummy write() methods 2011-05-11 18:43:04 +02:00
Christophe Coevoet
708d799e1d Simplified code 2011-05-06 19:48:34 +02:00
Christophe Coevoet
e059c441e0 Fixed CS and phpdoc 2011-05-06 19:47:27 +02:00
Jordi Boggiano
2b1c68e0d0 Make $initialized static
Removed custom writer, overriding is easy enough
CS fixes
Added TestFirePHPHandler class to enable testing of headers
2011-04-25 15:48:52 +02:00
Eric Clemmons
275084d5d7 Refactored header creation to use $key => $value pairs for easier support for 3rd-party Response objects 2011-04-23 17:52:32 -07:00
Eric Clemmons
12ab07447d Refactored FirePHPHandler a bit to support Closures & Methods to override how headers are sent.
(Defaults to PHP's `header` function)
2011-04-23 15:33:39 -07:00
Eric Clemmons
0148506b2e Added FirePHPHandler using a WildfireFormatter 2011-04-22 14:10:55 -07:00