1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 01:26:11 +02:00
Commit Graph

349 Commits

Author SHA1 Message Date
Jordi Boggiano
4277c5db4a CS fixes 2013-07-29 00:08:51 +02:00
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
e3e95f7dd6 Merge remote-tracking branch 'EmmanuelVella/patch-2' 2013-07-29 00:00:45 +02:00
Jordi Boggiano
52f478b289 Fix tests 2013-07-28 23:19:20 +02:00
Jordi Boggiano
df1f411378 CS fixes and set the default NewRelicHandler level to ERROR, refs #105 2013-07-28 23:11:20 +02:00
Jordi Boggiano
043aabcf2f Merge remote-tracking branch 'odino/master' 2013-07-28 23:01:16 +02:00
Jordi Boggiano
fc244c0084 Make the ErrorLogger work with any logger interface object 2013-07-28 22:30:26 +02:00
Jordi Boggiano
01e1ee7541 Add tests and fix issue with array_merge 2013-07-28 21:16:34 +02:00
Jordi Boggiano
cb47b537f3 Fix feedback 2013-07-28 20:35:20 +02:00
Jordi Boggiano
fdd45cc6bc Add error handler, fixes #199 2013-07-28 19:50:36 +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
Jordi Boggiano
ec3f56a830 Merge remote-tracking branch 'fabpot/raven-improvements' 2013-07-28 18:48:43 +02:00
Emmanuel Vella
46cedf5e2f Allow multiple users for PushoverHandler
The construct accepts a string or an array of user ids to keep backward compatibility.

In case of an array, a message is built and send for each of the users.
2013-07-26 16:35:47 +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
33ea09eb6a updated the documentation 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
Elan Ruusamäe
788387bd80 add error_log handler
[error_log](http://www.php.net/manual/en/function.error-log.php) handler
to send output to webserver SAPI handler (directly or indirectly)
2013-07-17 17:04:55 +03: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
Jordi Boggiano
c933bb67a8 CS fixes, refs #209 2013-07-11 18:36:07 +02:00
Artur Moczulski
aeb2dd578c Update PushoverHandler.php
simplifying the priority level setting if condition following stof suggestion
2013-07-10 08:44:39 -07: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
Jordi Boggiano
875ada786b Avoid using GlobIterator since it seems to trip up open_basedir restrictions, fixes #204 2013-06-20 16:40:07 +02:00
Fabien Potencier
29ae147226 Improved the Raven handler when using a Buffer handler 2013-06-15 15:22:51 +02:00
Jordi Boggiano
a43f926ffe Abort normalization of traversables after 1000 items have been discovered, fixes #201 2013-06-07 10:26:36 +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
aa518ad791 Add stack traces to normalized exceptions, closes #192 2013-05-21 21:05:40 +02:00
Jordi Boggiano
e2b412846d Add API version to Logger class 2013-05-21 20:36:09 +02:00
Rafael Dohms
690c82656b Fixing bad docblock. 2013-05-12 22:04:15 -05: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
Jordi Boggiano
1eed379a3b Define properties 2013-05-03 11:05:12 +02:00
davewwww
12f12f2d4c Update SyslogHandler.php
move openlog() to write() method to use multiple facilities.
2013-05-02 19:32:35 +03:00
Mike Meessen
b2ce4483a5 Fixed phpdoc, typo and indentation issues. 2013-04-30 12:57:02 +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
7e56792987 Fix docblock 2013-04-23 11:10:54 +02:00
Joshua Jabbour
6a8154756e Flip getLevels() response. 2013-04-15 12:24:24 -05:00
Joshua Jabbour
85dbaf9733 Add getter to return all supported log levels. 2013-04-15 11:46:35 -05:00
Jordi Boggiano
642cdf620b Add support for previous exceptions in LineFormatter 2013-04-07 13:22:41 +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
Eduardo Oliveira
f84f58188c At isHandling remove unused variable on foreach 2013-03-24 12:11:22 +00: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