Danilo Silva
5c129a7f7f
Avoid infinite loops when no data is written on a socket for a time greater than writingTimeout settings
2015-10-19 12:02:32 +02:00
Jordi Boggiano
fa74e171dc
Merge pull request #661 from pomaxa/isset
...
fix CubeHandler http connection and few small updates
2015-10-14 14:30:00 +01:00
Jordi Boggiano
d0f441e8b0
Merge pull request #654 from dracony/patch-1
...
Reduce memory consumption of the debug_backtrace call
2015-10-14 14:26:36 +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
ce293c745a
Do not assume we have a Logger in ErrorHandler, fixes #666
2015-10-14 13:47:31 +01:00
pomaxa
fc077b8172
* fix var passed to curl::execute
...
* phpdoc
* remove defining null for class props.
2015-09-30 01:08:08 +03:00
pomaxa
5b05c66429
php doc for throw exception
2015-09-30 00:53:37 +03:00
pomaxa
108bcff409
simplify isset/unset
2015-09-30 00:35:33 +03:00
dracony
cf2faeb3b7
Reduce memory consumption of the debug_backtrace call
...
Since the code does not need neither the 'object' not 'args' keys from backtrace, we can save some memory by not requesting them.
I have a better idea planned too: first attempt getting the trace with limited back trace (limit to only about 5 results), and get the full one only if those were not enough
2015-09-26 21:53:29 +02:00
Jordi Boggiano
ec0b383ace
Merge pull request #647 from rap2hpoutre/patch-1
...
Use `text` and `title` fields for SlackHandler
2015-09-21 10:25:59 +01:00
François-Xavier de Guillebon
f24867ad06
Fixed undeclared properties
2015-09-17 14:33:27 +02:00
raph
976259bb5b
Use text
and title
fields for SlackHandler
...
According to slack documentation (https://api.slack.com/docs/attachments ), an attachment may have a title and a text. The log message and title should use these fields. One of the benefits of using these two properties instead of adding a field is that it's shortened (with a "show more" button) and expandable by slack. It adds a bit of hierarchy in the attachement. Message is the content. Extra and context are additional fields.
2015-09-17 09:52:52 +02:00
Aleksei Shmelev
aaa2854b10
SwiftMailerHandler bugfix.
...
Added generating unique id when building message and test.
2015-09-14 16:37:30 +03:00
Jordi Boggiano
5785a9ac4a
Fix CS and php5.3 compat
2015-08-31 10:26:07 +01:00
Jordi Boggiano
18013a5e7d
Fix rollbar triggering strict notices
2015-08-31 10:16:39 +01:00
Jordi Boggiano
841ecbe7f3
Merge pull request #634 from henriquemoody/resource_type
...
Better normalization for resources
2015-08-30 12:24:10 +01:00
Jordi Boggiano
d4af96813f
Merge pull request #636 from jaredm4/master
...
Add getUid() to UidProcessor
2015-08-27 21:21:13 +01:00
Jordi Boggiano
860658afe1
Merge pull request #637 from jjok/master
...
Added missing documentation for $version param.
2015-08-27 21:19:45 +01:00
Jonathan Jefferies
4b9d0e4233
Added missing documentation for $version param.
2015-08-27 12:55:39 +01:00
Moshe Brevda
dce930e43d
Fix syntax
2015-08-27 09:47:53 +03:00
Moshe Brevda
fd4687b089
Better variable handling
2015-08-27 09:44:55 +03:00
Jared Markell
3a3d28f91a
Add getUid() to UidProcessor
2015-08-24 14:50:30 -07:00
Moshe Brevda
2719cca77f
Add payload, too
2015-08-23 02:03:17 +03:00
Moshe Brevda
a4033bf3d6
Pass context to RollBar
2015-08-23 00:06:48 +03:00
Henrique Moody
50fb249739
Better normalization for resources
2015-08-20 15:01:24 -03:00
Tomasz Wójcik
762361fff9
RavenHandler supports extra parameters
2015-08-16 11:13:32 +02:00
Tomasz Wójcik
4551b8c63b
RavenHandler handles custom checksums
2015-08-15 17:58:48 +02:00
Frederik Bosch
d72806ca25
Would have, could have. Why not.
2015-08-11 11:59:52 +02:00
Frederik Bosch
63c0363824
Typehint update
2015-08-11 11:58:40 +02:00
Frederik Bosch
0ae159e892
Remove Not in method name
...
Apparently there is check whether function should be skipped (positive).
2015-08-11 11:54:26 +02:00
Frederik Bosch
8b2df20b95
FIX IntrospectionProcessor: E_NOTICE
...
Recent merge of #608 misses check whether the trace exists at all at the specific index, leading to undefined offset.
```
E_NOTICE: Undefined offset: 3
```
And because the while statement became unreadable (and too long), I moved it into a separate method.
2015-08-11 11:51:06 +02:00
Jordi Boggiano
57dc037895
Add IFTTTHandler to docs
2015-08-09 18:44:06 +01:00
Jordi Boggiano
419ca7ac25
Tweak patch a bit, refs #617
2015-08-09 18:28:21 +01:00
Jordi Boggiano
eabe95f9f0
Merge remote-tracking branch 'sminnee/logger-sethandlers'
2015-08-09 18:24:59 +01:00
Jordi Boggiano
837f437b4c
Avoid logging fatal errors twice when both error and fatal error handlers are present, fixes #622
2015-08-09 18:16:16 +01:00
Jordi Boggiano
cd3f9f1e50
CS fixes, refs #623
2015-08-09 17:52:11 +01:00
Jordi Boggiano
0fef7571db
Merge remote-tracking branch 'nehalvpatel/master'
2015-08-09 17:50:40 +01:00
Jordi Boggiano
2525053e8e
Close handlers that can be closed after logging a fatal errors, refs #621
2015-08-09 17:29:54 +01:00
Jordi Boggiano
3dccef613e
Make sure handlers can be closed multiple times
2015-08-09 17:29:31 +01:00
Nehal Patel
e3ed389fef
Added the IFTTTHandler
2015-08-07 20:05:00 -05:00
Ahmet Soormally
7f0cc89685
Update Util.php
...
Fixes bug with error handler. Once `curl_close($ch)` is called, then `curl_errno($ch)` and `curl_error($ch)` makes no sense and will cause an error in the exception handler.
2015-07-29 11:56:27 +01:00
Sam Minnee
60c96cfa2a
Added Logger::setHandlers()
...
Logger::setHandlers() is intended to help dependency injection systems
that deal more elegantly with property setters than constructor
arguments. Alongside getHandlers(), pushHandler(), popHandler(), it is
a logical addition to the API.
It also attempts to address some possible errors in the format of the
data passed:
- If a map is passed, the keys are removed, as these aren’t expected
by Monolog
- If falsey values are included, these are stripped
It relies on Logger::pushHandler() internally, so that if any special
behaviour is added in the future, this only needs to be added in one
place.
2015-07-28 13:15:02 +12:00
Jordi Boggiano
e4f45be5dc
Fix CS
2015-07-20 19:31:46 +01:00
Jordi Boggiano
00a3ad6572
Merge pull request #608 from xploSEoF/patch-1
...
Ignore "call_user_func" from debug backtrace
2015-07-20 19:28:40 +01:00
Jordi Boggiano
12e1bd1d39
Merge pull request #609 from xploSEoF/patch-2
...
Prevent Monolog from ever being introspected
2015-07-20 19:24:38 +01:00
Jordi Boggiano
3f641e31cc
Merge pull request #607 from APMG/master
...
Create directory on initial log write rather than class instantiation.
2015-07-20 19:17:36 +01:00
Jordi Boggiano
6c603fdc52
Use mbstring in flowdock handler when possible to compute short messages, fixes #567
2015-07-20 15:46:52 +01:00
Liam Le Brun
a287cc630e
Missed a continue
2015-07-15 14:02:42 +01:00
Liam Le Brun
e021bbd4b2
Multiple functions to skip
...
Add an array for holding the functions to skip, preventing the functions from ever being used for introspection
2015-07-15 13:36:37 +01:00