1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-13 08:34:12 +02:00

540 Commits

Author SHA1 Message Date
Jordi Boggiano
e2e041eded Store user in a temporary property instead of hacking it into the record 2013-07-29 00:08:01 +02:00
Jordi Boggiano
52f478b289 Fix tests 2013-07-28 23:19:20 +02:00
Jordi Boggiano
043aabcf2f Merge remote-tracking branch 'odino/master' 2013-07-28 23:01:16 +02:00
Jordi Boggiano
a00f102cda Rename logFormatter to batchFormatter, refs #203 2013-07-28 19:01:33 +02:00
Jordi Boggiano
ec3f56a830 Merge remote-tracking branch 'fabpot/raven-improvements' 2013-07-28 18:48:43 +02:00
odino
b422bb1c5b refactored the implementation of the NR handler and its test:
* the test now checks that if the extension is not loaded, an exception is thrown
* the test now mocks the new relic native functions
* moved some parameters as constants in the handler class
2013-07-24 10:14:35 +04:00
odino
394b0bf872 removed the logic for the fallback handler, its out of place, adapted the "test" 2013-07-24 09:46:20 +04:00
Alessandro Nadalin
b439707cbb Added an handler for NewRelic:
* implemented a test which verifies that the fallback handler handles records when the NewRelic PHP extension is not installes
* implemented the actual handler
2013-07-24 09:46:20 +04:00
Jordi Boggiano
050bb52fd8 Fix a few details and add docs to the ChannelLevelActivationStrategy, refs #186 2013-07-17 18:11:27 +02:00
Jordi Boggiano
e9df30c7f5 Merge remote-tracking branch 'netmikey/master' 2013-07-17 18:00:31 +02:00
Artur Moczulski
fe13e80787 added support for Pushover API priority brought up by SteveEdson in issue #187; the priority levels can be adjusted either through the handler's constructor or setters 2013-07-08 00:35:22 -07:00
Fabien Potencier
29ae147226 Improved the Raven handler when using a Buffer handler 2013-06-15 15:22:51 +02:00
David Windell
94e31e37b8 API match 2013-05-28 11:50:42 +02:00
Rafael Dohms
0f13a1a6bb HipChat Handler
Adds a handler that is capable of sending notices into HipChat, the team communication system provided by Atlassian.
This is based on the PushoverHandler and built on top of the socketHandler.

The needed configuration is described in the docblock of the HipChatHandler file.
2013-05-08 17:37:53 +02:00
Mike Meessen
690bbdb2ff Refactored / Renamed the CategoryErrorLevelActivationStrategy to the
more appropriate ChannelLevelActivationStrategy.
2013-04-30 10:57:25 +02:00
Mike Meessen
c72aff2238 Added CategoryErrorLevelActivationStrategy, which enables setting the
Error Level threshold per log channel.
2013-04-29 14:52:29 +02:00
Christophe Coevoet
d885932183 Updated the ChromePHPHandler for the new version of the extension 2013-04-23 14:22:10 +02:00
Jordi Boggiano
41d514114c Output message to the user when chrome logs have been truncated, refs #172 2013-04-23 12:05:59 +02:00
Jordi Boggiano
6275edbe75 Stop sending logs when the chrome header size limit has been reached, fixes #172 2013-04-23 11:47:22 +02:00
Jordi Boggiano
3f8c37b23c CS fixer 2013-03-28 11:41:04 +01:00
Jordi Boggiano
5feb21ae1a Fix Buffer, Group and FingersCrossed handlers to make use of their processors, fixes #170 2013-03-17 19:36:02 +01:00
Jordi Boggiano
ff45cf4afa Merge remote-tracking branch 'kitchen/logstash-redis'
Conflicts:
	README.mdown
2013-02-13 18:23:43 +01:00
Jordi Boggiano
52073f4589 Merge remote-tracking branch 'cbergau/master' 2013-02-13 18:11:25 +01:00
Markus Staab
6c888417b6 sanitize http headers in NativeMailerHandler to prevent injections. added tests. 2013-02-13 16:19:47 +01:00
Jeremy Kitchen
a463cdcf91 unit test for RedisHandler and README.md update
* updated README.md to inform users of RedisHandler
* added unit test for RedisHandler
2013-02-12 17:47:43 -08:00
ChristianB
f0ba64ad4b Exception will be thrown if ZendMonitorHandler is instantiated without having Zend Server installed. 2013-01-31 12:16:16 +01:00
ChristianB
83b84ff818 Pass $record['formatted'] as the user parameter for zend monitor. Refactored test. 2013-01-31 10:39:11 +01:00
ChristianB
5a2a9129d4 Added test for getDefaultFormatter 2013-01-31 07:24:14 +01:00
ChristianB
a2162c1787 Override getDefaultFormatter instead of creating a formatter with 'new' in method 'write'. Using levelMap again. Refactored test. 2013-01-31 07:22:52 +01:00
ChristianB
b4b2d91c67 Refactored writeZendMonitorCustomEvent signature to provide better testability 2013-01-30 21:42:59 +01:00
ChristianB
4eb6011dc1 Use getRecord to get a record in unit test 2013-01-30 20:17:14 +01:00
ChristianB
32145bc49e Removed testing a mock instead of the real handler 2013-01-30 19:37:42 +01:00
ChristianB
a82bac49f2 Added ZendMonitor Handler 2013-01-30 19:26:25 +01:00
Jordi Boggiano
f5cb46eefc Fix test suite 2013-01-22 11:05:37 +01:00
Jordi Boggiano
47eb599b4a Update tests and changelog 2013-01-11 11:23:20 +01:00
Jordi Boggiano
fb59ffe709 Merge remote-tracking branch 'msabramo/raven'
Conflicts:
	README.mdown
	composer.json
2013-01-07 20:33:40 +01:00
Jordi Boggiano
04f41cd661 CS fixes 2013-01-06 21:43:53 +01:00
Jordi Boggiano
a35401e8ce Merge remote-tracking branch 'Sgoettschkes/PushoverHandler' 2013-01-06 21:12:35 +01:00
Jordi Boggiano
e569dfc27a Merge remote-tracking branch 'Baachi/couchdb' 2013-01-06 20:47:53 +01:00
Jordi Boggiano
8dd213fcf1 Merge remote-tracking branch 'origin/master' 2012-12-14 12:21:55 +01:00
Jordi Boggiano
9c8db38385 CS fixes 2012-12-14 12:15:30 +01:00
Jeremy Mikola
6d3bca8543 Support MongoClient in MongoDBHandler 2012-12-13 15:17:20 -05:00
Markus Bachmann
6fedfa74ce Merge remote-tracking branch 'upstream/master' into couchdb 2012-11-21 19:11:25 +01:00
Jordi Boggiano
bcb51e0140 Add $flushOnOverflow and refactor BufferHandler's internals, fixes #120, fixes #104 2012-11-11 18:03:04 +01:00
Sebastian Goettschkes
cb675ae10f Changing typo in variable name and default title for pushover message 2012-10-05 16:56:58 +02:00
Sebastian Goettschkes
d6489bb3ae Adding a first version of PushoverHandler
The PushoverHandler sends messages to api.pushover.net. The class depends on the SocketHandler
I modified the SocketHandler to make it possible to change the port for subclasses (Pushover needs the explicit port 80 to work)
The tests only see if the content sent to the api is correct. The rest should be already covered in the tests for the Sockets.
2012-09-09 15:50:31 +02:00
Markus Bachmann
e282394736 Add couchdb handler 2012-08-29 18:28:05 +02:00
David Zuelke
76fb21b31b Allow passing of openlog() options in SyslogHandler ctor 2012-08-29 10:54:14 +02:00
Jordi Boggiano
0ce44f1526 Improve error reporting on failed streams, refs #85 2012-08-18 18:18:40 +02:00
Martin Hasoň
26adcea582 Enabled float timeouts in SocketHandler 2012-08-02 13:10:43 +02:00