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

952 Commits

Author SHA1 Message Date
Jordi Boggiano
dacec2fe1e Merge remote-tracking branch 'eimanavicius/support-for-Throwable-in-JsonFormatter' into 1.x 2016-09-18 18:07:11 +02:00
Nerijus Eimanavičius
6586425a31 Better support for PHP7 \Throwable 2016-08-28 00:47:02 +03:00
Jared King
bc3ccb0e87 Add support for PHP 7 errors in RavenHandler by checking for Throwable instead of Exception 2016-08-17 11:14:23 -05:00
Adam Kiss
3419d21669 Added option to log errors regardless of error_reporting setting 2016-07-29 05:22:42 +02:00
Jordi Boggiano
0defb2665b Revert #810 and remove the context info in the php error logger of ErrorHandler, fixes #828, closes #810 2016-07-29 05:08:45 +02:00
Jordi Boggiano
ced9284123 Fix tests 2016-07-29 04:51:33 +02:00
Jordi Boggiano
5052fe7b1f Merge remote-tracking branch 'francisbesset/feat-soapfault' into 1.x 2016-07-29 04:47:55 +02:00
Jordi Boggiano
9b5bf2cca7 Allow formatting of message by setting a line formatter on SlackHandler, fixes #829 2016-07-29 04:20:18 +02:00
Jordi Boggiano
fac277b15a Make separator optional 2016-07-29 04:07:25 +02:00
Jordi Boggiano
a6ecf50e74 Allow other separators for the date format in RotatingFileHandler 2016-07-29 04:04:32 +02:00
Francis Besset
8b1f522206 Added informations to normalize a SoapFault 2016-07-20 15:18:11 +02:00
Jordi Boggiano
55841909e2 Undo accidental linebreak 2016-07-02 15:02:10 +01:00
Jordi Boggiano
69fb2aa1c1 Fix GroupHandler::handleBatch when the handler has processors, fixes #814 2016-07-02 14:48:22 +01:00
s4msung
d9be260f3d include $context in error_handler 2016-07-02 14:43:33 +01:00
Dmitry Ivanov
1c75491af2 HtmlFormatter methods accessibility
Please, make them protected instead of private to enable comfortable overriding of HtmlFormatter class.
2016-07-02 14:38:53 +01:00
Elan Ruusamäe
33df788930 Update NormalizerFormatter.php
^H the i
2016-06-11 16:09:14 +01:00
Jordi Boggiano
39aeecefae Add getter for the StreamHandler URL, fixes #797 2016-05-26 22:44:25 +01:00
Jordi Boggiano
5e6b844653 Only fail on really empty stream URL, fixes #796 2016-05-26 20:27:56 +01:00
Jordi Boggiano
ba9d57a96b Add extra safety 2016-05-20 20:14:51 +01:00
Jordi Boggiano
5ecfbc25de Fix issue in handling of broken iterators when serializing stack frames, fixes #772 2016-05-20 19:39:35 +01:00
Michael Moussa
09c4cca32b Fix NewRelicHandler error when using LineFormatter 2016-05-20 19:31:17 +01:00
Leny BERNARD
3101f1c09a check if val is null to avoid to set the string "null" instead of null 2016-05-20 19:19:52 +01:00
Remon van de Kamp
83a24937ba Add deprecation errors on RotatingFileHandler (#774)
* Add deprecation errors when attempting to set dateFormats of fileFormats that
break the possibility of rotating easily in RotatingFileHandler. Version 2.x
of Monolog will throw `\InvalidArgumentException`s in these cases.
2016-05-20 19:13:19 +01:00
Filip Procházka
e2c575b505 Catch Throwable 2016-05-13 21:43:07 +02:00
Jordi Boggiano
b23ddb363f Merge pull request #769 from naderman/t/fingers-crossed-override-activation
Provide means to manually activate a FingersCrossedHandler
2016-04-20 20:08:06 +01:00
Nils Adermann
0fc6734c6f FingersCrossedHandler: Clean up code 2016-04-20 15:00:33 -04:00
Nils Adermann
abb58081fe Extract fingerscrossed activation into its own method callable from outside 2016-04-15 14:05:55 -04:00
Andrzej Kupczyk
04dedae4a8 Fixed $handler property visibility
According to the given example, $handler property should not be private.
2016-04-15 17:52:32 +01:00
Nils Adermann
c677398c76 Provide means to manually activate a FingersCrossedHandler
This is useful if you have a FingersCrossedHandler set up and some where
in your application are interested in all output regardless of whether
the threshold is actually reached. For example to temporarily debug some
problem. One can replace the handler in that spot, but this is
signifcantly easier to use.
2016-04-14 16:56:59 -04:00
Jordi Boggiano
a3f7c4a147 Add getStream to the StreamHandler 2016-04-12 19:29:25 +01:00
Jordi Boggiano
f56f2969f7 Fix handling of messages with new lines 2016-04-12 19:17:42 +01:00
Jordi Boggiano
0e3a4bf48b Fix bug when messages contain colons 2016-04-12 19:02:03 +01:00
Jordi Boggiano
d18eb57ee9 Make sure levels are converted properly 2016-04-12 18:43:49 +01:00
Jordi Boggiano
a754edc64c Add ability to use formatter in email subject lines 2016-04-12 18:31:25 +01:00
Jordi Boggiano
1fa91efc3b Add DeduplicationHandler to avoid spamming the same log records over and over 2016-04-12 18:31:22 +01:00
Jordi Boggiano
a7ade9d68f Only close handles that have been opened by the StreamHandler, fixes #764 2016-04-10 13:01:10 +01:00
Jordi Boggiano
ccdc8b530c Truncate single messages if they go over the hipchat limit, fixes #629 2016-04-10 12:31:41 +01:00
Christian Flothmann
f72b5036f8 extract browser detection regex into a constant 2016-04-05 12:19:39 +02:00
Jordi Boggiano
6bc1a444db Truncate messages if they reach the max length of GELF messages, fixes #751 2016-04-02 13:53:47 +01:00
Remi Collet
8cfc819265 missing property 2016-03-25 17:25:05 +01:00
Malte Blättermann
9ef18f111f Added millis 2016-03-13 16:18:47 +00:00
Jean-Baptiste Nahan
f4b89ac754 Fix content_type property
The property "Content-type" does not exist. Use "content_type" instead.

Work for RabbitMQ.
2016-03-13 16:05:20 +00:00
shiyangwu520
d04afcb5d0 Update RedisHandler.php
Should be the exec method, not the execute method
2016-03-09 11:29:06 +00:00
Jordi Boggiano
5085630fd6 Fix SlackHandler bug where slack drops some messages if the socket is closed too early, fixes #729 2016-03-07 12:29:57 +00:00
Jordi Boggiano
d68b63a0d0 Default to html when no content-type is set 2016-03-04 17:19:59 +00:00
John Hunt
88e483a815 Fixed small syntax bug with BrowserConsoleHandler preventing console output
Replaced commas in send() method when calling generateScript() - this was
preventing any javascript from being output
2016-03-04 17:08:06 +00:00
Jordi Boggiano
127d7720c9 CS fixes 2016-03-01 18:00:33 +00:00
Jordi Boggiano
fa96f6aa8f Add support for firefox in ChromePHPHandler 2016-03-01 17:13:48 +00:00
Daniel Gimenes
3521455e51 LineFormatter if configured to use short attachment 2016-03-01 17:02:07 +00:00
Jordi Boggiano
25131bb5f6 Add context.* replacement in line formatter, fixes #717 2016-03-01 16:58:06 +00:00