1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-24 06:52:34 +01:00

1137 Commits

Author SHA1 Message Date
Thomas Ploch
00bfec630a Recursively check for resource arguments if trace is coming from internal function.
With `React` or `Guzzle`, that register stream wrappers with PHP, the traces are treated as coming from internal functions with no line and file inside the frame. But they almost always contain resources as arguments, on which the `json_encode()` call will choke (probably this should be addressed in json_encode internally, since it is very easy to cast a resource to a string).

I added a test case proving the situation and a pretty basic recursive checker for resources which just casts them as a string into the frame again.
2014-12-16 10:13:12 +01:00
Jordi Boggiano
a6e82ad0f7 Merge pull request #473 from tPl0ch/hotfix-gelf-formatter
Added missing check for array key in `GelfMessageFormatter`
2014-12-15 21:41:51 +00:00
Jordi Boggiano
1cb39eedb5 Allow including stack traces in line formatter, fixes #466 2014-12-13 13:54:24 +00:00
Thomas Ploch
9c78c9764a Added missing check for array key in GelfMessageFormatter 2014-12-12 10:38:40 +01:00
Dan Michael O. Heggø
04094e5d99 SyslogUdpHandler: Send a valid rfc5424 version
https://tools.ietf.org/html/rfc5424#section-6.2.2
2014-12-11 00:25:16 +01:00
Richard van Laak
1ad2cc0d84 Update PushoverHandler.php 2014-12-08 13:51:44 +01:00
Jordi Boggiano
3d2567a2f1 Merge pull request #467 from tiagowbpr/master
Php docs small error
2014-12-06 18:16:08 +00:00
Florian Plattner
92ac8e1869 updated readme 2014-12-06 16:59:28 +01:00
Florian Plattner
d6f11d6ba3 Add MongoDBFormatter 2014-12-06 12:52:15 +01:00
tiagowbpr
59c52eeea5 Php docs small error 2014-12-05 23:46:37 -02:00
Jordi Boggiano
4119844a43 Merge pull request #465 from kzooz/kzooz
Add exception code
2014-12-05 12:46:13 +00:00
Sergey Chizhik
21c54ac660 fix 2014-12-05 14:36:37 +02:00
Jordi Boggiano
cbbd378b32 Merge pull request #459 from adamnicholson/master
Fix to ensure API response isn't output directly when using MandrillHandler
2014-12-05 11:03:40 +00:00
Sergey Chizhik
7902b8c396 Add exception code 2014-12-04 18:42:38 +02:00
Jordi Boggiano
673e275c00 Update comments 2014-12-04 15:11:17 +00:00
Jordi Boggiano
09c28e1a45 Merge remote-tracking branch 'edsonmedina/master' 2014-12-04 15:09:24 +00:00
Edson Medina
ae68665460 getLevelName needs to be called earlier, so it can still thrown
exceptions for invalid levels even without a handler
2014-12-02 23:51:28 +00:00
Edson Medina
38f8dc52de Avoid calling expensive methods before checking we need to 2014-12-02 22:07:18 +00:00
Adam Nicholson
00b16667d3 Updated MandrillHandler to set CURLOPT_RETURNTRANSFER to true to ensure the API response isn't output directly 2014-11-26 13:13:06 +00:00
Jordi Boggiano
ab41ed9a94 Merge pull request #453 from mnapoli/patch-1
Removed version constraint from the Installation doc
2014-11-11 12:05:51 +00:00
Matthieu Napoli
316dc9c565 Removed version constraint from Installation doc 2014-11-11 17:02:24 +13:00
Jildert Miedema
4ccc7cb16d Give the items a class
Sometimes log messages disappear behind other elements. Now i can add a custom style for it.
2014-11-06 11:10:21 +01:00
Richard van Laak
15fe95e194 Update PushoverHandler.php
... with extra parameters for when the priority = 2

https://pushover.net/api#priority
2014-10-31 15:11:53 +01:00
Richard van Laak
3eb9ffda35 Update PushoverHandler.php
.. according to the feedback @stof gave
2014-10-31 14:51:57 +01:00
Richard van Laak
8927351941 Update PushoverHandler.php
... so all available parameters from the (API)[https://pushover.net/api] can be included in the record.
2014-10-31 13:50:09 +01:00
Jordi Boggiano
53c6cf358b Merge pull request #444 from JeroenDeDauw/patch-2
Use FQN since class is not imported
2014-10-29 06:32:01 +00:00
Jordi Boggiano
778a3e1401 Merge pull request #443 from JeroenDeDauw/patch-1
Improve a grammar
2014-10-29 06:31:45 +00:00
Jeroen De Dauw
6595e39ec8 Use FQN since class is not imported 2014-10-28 13:39:01 +01:00
Jeroen De Dauw
06b96795f6 Improve a grammar 2014-10-28 13:17:31 +01:00
ryr
c0bf0f56ae set sentry logger 2014-10-24 13:33:36 +07:00
Mike Sherov
f5fe05c27f Adds exception codes to the exception data in NormalizeFormatter 2014-10-23 15:33:29 -04:00
Jordi Boggiano
d0a9acbad0 Add install instructions 2014-10-21 21:10:18 +01:00
Jordi Boggiano
f835cd21e4 Make 5.3 compliant and faster call to wrapped logger, refs #437 2014-10-21 10:22:09 +01:00
Jordi Boggiano
77febae7de Merge remote-tracking branch 'michaelmoussa/psr-handler' 2014-10-21 10:17:43 +01:00
Michael Moussa
979be11760 Added PsrHandler
This handler allows applications introducing Monolog to continue using
their existing PSR-3 compliant logger(s) in conjunction with the various
Monolog handlers available.
2014-10-20 23:27:55 -04:00
Jordi Boggiano
b738a6c04c CS fixes 2014-10-17 19:12:45 +01:00
Patrick Landolt
20b56007ad added the option to include extra data and to chose for a smaller output but with the same information available 2014-10-14 10:53:50 +02:00
Jordi Boggiano
940cbe15ab Move the class off in the tests 2014-10-04 16:43:06 +01:00
Jordi Boggiano
1e47b2788a Merge pull request #430 from moderndeveloperllc/master
NewRelicHandler: Account for arrays sent in context and extra parameters
2014-10-04 12:53:35 +01:00
Jordi Boggiano
5b134e647e Merge pull request #432 from NAYZO/master
Update JsonFormatter.php
2014-10-04 12:50:33 +01:00
Ala Eddine Khefifi
49f01b6ff6 Update JsonFormatter.php
It's more clear and proper this way to put all class constants on top.
2014-10-04 12:39:13 +01:00
Jordi Boggiano
2bd58073fd Merge pull request #431 from NETZkultur/patch-1
Updated the README.mdown
2014-10-04 12:23:52 +01:00
NETZkultur
98556a885e Updated the README.mdown
fixed a typo
2014-10-01 09:08:28 +02:00
Mark Garrett
bc2d882967 Account for context and extra params that are sent as arrays (GitProcessor for one). New __construct param is optional and set to false to emulate current feature set. 2014-09-30 16:42:07 -05:00
Jordi Boggiano
ec3961874c Update changelog 1.11.0 2014-09-30 14:30:58 +01:00
Jordi Boggiano
d2ec7648d0 Move iconEmoji param upfront since Slack was never in a stable release 2014-09-30 14:28:08 +01:00
Jordi Boggiano
31358c858f Add missing license headers 2014-09-30 14:24:28 +01:00
Jordi Boggiano
feb19af2d4 Add support for PSR-3 levels to all public APIs accepting levels, fixes #421 2014-09-30 13:59:45 +01:00
Jordi Boggiano
43ca6dc06b Remove preg_replace to hopefully fix segfault on long inputs, fixes #376 2014-09-30 12:33:35 +01:00
Jordi Boggiano
0d09e2f8a0 Merge pull request #426 from acdameli/master
New Handler: WhatFailureGroupHandler
2014-09-30 11:56:29 +01:00