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
7405bb5d67
CS fixes
2017-03-20 10:56:47 +01:00
Jordi Boggiano
5e3be010d0
Make sure we use \Throwable and not just \Exception
2017-03-20 10:14:03 +01:00
Jordi Boggiano
4f0c07af69
Merge branch '1.x'
2017-03-12 18:18:46 +01:00
Tim Strijdhorst
e6b05c9173
Allow to set custom event_id [LEGACY] ( #930 )
...
* +allow to set a custom event_id as an extra parameter instead of letting Raven generate a UUIDv4
* +CS
* +CS
* +verbose array syntax because of PHP 5.3 support
2017-03-12 17:46:54 +01:00
Lesnykh Ilia
c82afaa303
Add missed return phpdoc tag. ( #908 )
...
* Add missed return phpdoc tag.
* Change $this to self.
2017-01-11 17:17:39 +01:00
Jordi Boggiano
1dc4cf31e8
Merge branch '1.x'
2016-11-13 20:26:27 +01:00
Tugdual Saunier
d234839de1
Make the RavenHandler picks the first highest record as main
2016-10-13 09:42:54 +01:00
Jordi Boggiano
5ce1c921ad
Fix type errors, thanks phan
2016-09-25 22:11:37 +02:00
Jordi Boggiano
ec945b60d4
Merge branch '1.x'
2016-09-18 18:10:42 +02: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
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
Grégoire Paris
f1a59c5e0f
add release number to every log
...
This adds an internal release number to the raven handler. The release
number is added to what is sent to sentry unless something already is
present because a release number was sent via "context" or "extra".
2016-01-23 23:00:37 +01:00
Dmitriy Garanzha
e2a77060da
Raven client fingerprint support
2016-01-20 11:39:44 +02:00
Jordi Boggiano
c889fb2648
CS fixes & upgrading cs fixer config
2015-11-18 17:09:46 +00: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
Jordi Boggiano
ca1376bd61
CS fixes
2015-07-14 10:26:05 +01:00
Stepan Mazurov
09be78d62a
made raven user context less destructive
2015-04-13 22:02:07 -06:00
Stepan Mazurov
c1fd9cddf2
Added overwriting of user context to RavenHandler
2015-02-27 16:43:19 -07:00
ryr
c0bf0f56ae
set sentry logger
2014-10-24 13:33:36 +07:00
thewilkybarkid
795f705857
Update Sentry URL
2014-05-22 16:08:35 +01:00
ipsq
d79cda40cd
Update RavenHandler.php
2014-04-01 17:13:27 +02:00
ipsq
9a7209dd5e
Update RavenHandler.php
2014-04-01 17:07:55 +02:00
ipsq
bc8525c87c
Fixing the Undefined index error
2014-03-31 21:08:32 +02:00
ipsq
1242bed1c9
Updated the RavenHandler
...
It can now make use of the tags processor to display tags inside Sentry. It can also include tags that were specified in the context.
2014-03-31 20:22:20 +02:00
Jordi Boggiano
392ef35fd4
CS fixes
2014-03-23 20:50:26 +01:00
Jordi Boggiano
3926d95f8a
CS fixes
2013-12-26 11:43:12 +01:00
Florian Pfitzer
8452da04da
get record with highest log level in raven batch
2013-10-03 11:57:48 +02:00
Jordi Boggiano
4277c5db4a
CS fixes
2013-07-29 00:08:51 +02:00
Jordi Boggiano
a00f102cda
Rename logFormatter to batchFormatter, refs #203
2013-07-28 19:01:33 +02:00
Jordi Boggiano
87cca51a32
Fix issue in handleBatch when all records are below the minimum level, refs #203
2013-07-28 18:54:16 +02:00
pvanliefland
474a0f7bc4
Amended PR #203 (RavenHandler batch improvements)
...
Filtered records based on their level
Took the record with the highest severity as the main one
2013-07-11 19:16:14 +02:00
Fabien Potencier
29ae147226
Improved the Raven handler when using a Buffer handler
2013-06-15 15:22:51 +02:00
David Windell
3556ae7316
Tidy up handler
2013-05-24 19:10:15 +02:00
David Windell
041b936b83
Don't log exceptions twice
2013-05-24 18:09:40 +02:00
Jordi Boggiano
3f8c37b23c
CS fixer
2013-03-28 11:41:04 +01:00
Pascal Borreli
593ddace4a
Passing context as extra parameters (Additional data) fixes 171
2013-03-26 15:42:50 +00:00
Jordi Boggiano
bf356ef72f
Update raven log level mappings
2013-01-07 20:46:34 +01:00
Marc Abramowitz
c2850f127c
Remove close
method which was setting $this->ravenClient = null
2012-10-25 09:27:24 -07:00
Marc Abramowitz
368b1f0121
Remove RavenFormatter; this is not needed since Raven is a very simple
...
text-oriented interface and doesn't need special processing.
2012-10-25 09:05:21 -07:00
Marc Abramowitz
5d172122bc
Address a few of the concerns from @stof in #76 .
2012-10-24 23:48:18 -07:00
Marc Abramowitz
7a81acd28b
Eliminate local variables used as pseudo-named-arguments, as suggested
...
by @Stof in https://github.com/Seldaek/monolog/pull/76#r740449
2012-04-26 14:30:37 -07:00
Marc Abramowitz
1c5969629f
Change check of record level to >= Logger::ERROR instead of >
...
Logger::ERROR, as suggested by @Seldaek in
https://github.com/Seldaek/monolog/pull/76#r737303
2012-04-26 14:30:37 -07:00
Marc Abramowitz
3238a7417b
Rework how exceptions are stored and accessed using suggestions from
...
@Seldaek in https://github.com/Seldaek/monolog/pull/76/files#r737312
2012-04-26 14:30:37 -07:00
Marc Abramowitz
f6e75e44cb
Put args one per line, as suggested by @Seldaek in
...
https://github.com/Seldaek/monolog/pull/76/files#r737313
2012-04-26 14:30:37 -07:00
Marc Abramowitz
6d158110d5
Put braces on same line for if statements, as requested by @Seldaek in
...
https://github.com/Seldaek/monolog/pull/76/files#r737303
2012-04-26 14:30:37 -07:00